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

Fix ansible syntax

parent b97ba76e
No related branches found
No related tags found
1 merge request!5Fix replication ssh key
Pipeline #3469 failed
...@@ -127,14 +127,14 @@ ...@@ -127,14 +127,14 @@
- ad-server - ad-server
- name: ensure that replication ssh private key exists - name: ensure that replication ssh private key exists
openssh_keypair: community.crypto.openssh_keypair:
path: /root/.ssh/id_replication path: /root/.ssh/id_replication
type: ed25519 type: ed25519
delegate_to: "{{ ad_primary }}" delegate_to: "{{ ad_primary }}"
register: replication_keypair register: replication_keypair
- name: ensure that replication ssh pubkey is in authorized_keys - name: ensure that replication ssh pubkey is in authorized_keys
authorized_key: ansible.posix.authorized_key:
user: root user: root
state: present state: present
key: "{{ replication_keypair.public_key }}" key: "{{ replication_keypair.public_key }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment