From 276b3ffcb1dbc2ce4485a4777bb18d2b8fb499aa Mon Sep 17 00:00:00 2001 From: Pawel Wieczorek Date: Fri, 30 Apr 2021 13:59:47 +0200 Subject: Add missing dependencies and artifacts for in-cluster deployment stage Configuration of the operation machine has to be altered before commencing in-cluster deployment stage - otherwise in-cluster playbook will not be even parsable (after changing Ansible control node). Issue-ID: INT-1601 Change-Id: Ic0fd8d3e36866dd588febfcee8e91f837b46f015 Signed-off-by: Pawel Wieczorek --- deployment/noheat/infra-openstack/ansible/create.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deployment/noheat/infra-openstack/ansible/create.yml b/deployment/noheat/infra-openstack/ansible/create.yml index a088662b2..91c145f7a 100644 --- a/deployment/noheat/infra-openstack/ansible/create.yml +++ b/deployment/noheat/infra-openstack/ansible/create.yml @@ -46,3 +46,9 @@ dest: "{{ operation.inventory }}" vars: hosts: "{{ lookup('dict', hostvars['localhost']['hosts_dict']) }}" + - name: Push in-cluster deployment stage description to the next Ansible control host + ansible.posix.synchronize: + src: ../../cluster-rke + dest: ~/deploy + - name: Add Ansible collection dependencies + command: "ansible-galaxy collection install ansible.posix" -- cgit 1.2.3-korg