diff options
-rw-r--r-- | deployment/noheat/infra-openstack/ansible/create.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deployment/noheat/infra-openstack/ansible/create.yml b/deployment/noheat/infra-openstack/ansible/create.yml index 91c145f7a..d2828d766 100644 --- a/deployment/noheat/infra-openstack/ansible/create.yml +++ b/deployment/noheat/infra-openstack/ansible/create.yml @@ -20,6 +20,11 @@ community.crypto.openssh_keypair: path: "~/.ssh/{{ keypair.name }}" register: key + - name: Add operator0 public key to it's authorized keys + authorized_key: + key: "{{ key['public_key'] }}" + state: present + user: "{{ ansible_user }}" - name: Create cluster instances hosts: localhost connection: local |