Skip to content
Snippets Groups Projects
Commit b97ba76e authored by Ciarán McKenna's avatar Ciarán McKenna
Browse files

Fix replication ssh key

parent fd397dfc
Branches
No related tags found
1 merge request!5Fix replication ssh key
Pipeline #3468 failed
......@@ -126,6 +126,19 @@
tags:
- ad-server
- name: ensure that replication ssh private key exists
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:
user: root
state: present
key: "{{ replication_keypair.public_key }}"
- name: ensure we have a replication cronjob for sysvol
template:
src: replication-cron
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment