Skip to content
Snippets Groups Projects

Fix replication ssh key

Open
Ciarán McKennarequested to merge
fix-samba-replication into master
1 open thread
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -127,14 +127,14 @@
- ad-server
- name: ensure that replication ssh private key exists
openssh_keypair:
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
authorized_key:
ansible.posix.authorized_key:
user: root
state: present
key: "{{ replication_keypair.public_key }}"
Loading