From: Maciej Wereski Date: Wed, 28 Jul 2021 09:12:09 +0000 (+0000) Subject: noheat deployment: add operator0 key to itself X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=4db87df7239a707fa9c0d85ad6dd9505d0150056;p=integration.git noheat deployment: add operator0 key to itself This is needed for Ansible to deploy on operator0. Issue-ID: INT-1601 Signed-off-by: Maciej Wereski Change-Id: I6163942c8157108784008b4e05fc0abe85ee5184 --- 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