Add missing dependencies and artifacts for in-cluster deployment stage 47/121047/1
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Fri, 30 Apr 2021 11:59:47 +0000 (13:59 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Fri, 30 Apr 2021 12:07:43 +0000 (14:07 +0200)
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 <p.wieczorek2@samsung.com>
deployment/noheat/infra-openstack/ansible/create.yml

index a088662..91c145f 100644 (file)
@@ -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"