Skip to content
Snippets Groups Projects

Fix replication ssh key

Open Ciarán McKenna requested to merge fix-samba-replication into master
1 unresolved thread
1 file
+ 13
0
Compare changes
  • Side-by-side
  • Inline
@@ -126,6 +126,19 @@
@@ -126,6 +126,19 @@
tags:
tags:
- ad-server
- ad-server
 
- name: ensure that replication ssh private key exists
 
community.crypto.openssh_keypair:
 
path: /root/.ssh/id_replication
 
type: ed25519
 
delegate_to: "{{ ad_primary }}"
 
register: replication_keypair
 
 
- name: ensure that replication ssh pubkey is in authorized_keys
 
ansible.posix.authorized_key:
    • Schau mal in common/ssh-server wie wir dort die authorized_keysverwalten. Das geht davon aus, dass es allein dafür zuständig ist und entsprechend würde das hier wieder überschrieben werden.

Please register or sign in to reply
 
user: root
 
state: present
 
key: "{{ replication_keypair.public_key }}"
 
- name: ensure we have a replication cronjob for sysvol
- name: ensure we have a replication cronjob for sysvol
template:
template:
src: replication-cron
src: replication-cron
Loading