noheat deployment: add operator0 key to itself
[integration.git] / deployment / noheat / infra-openstack / ansible / create.yml
index 91c145f..d2828d7 100644 (file)
       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