From: Pawel Wieczorek
Date: Fri, 30 Apr 2021 11:59:47 +0000 (+0200)
Subject: Add missing dependencies and artifacts for in-cluster deployment stage
X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=276b3ffcb1dbc2ce4485a4777bb18d2b8fb499aa;p=integration.git
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
---
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"