aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/noheat/infra-openstack/ansible
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2021-04-30 13:59:47 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2021-04-30 14:07:43 +0200
commit276b3ffcb1dbc2ce4485a4777bb18d2b8fb499aa (patch)
tree93ba377e876ce0eb0249c3d3662bf9a3a0e65786 /deployment/noheat/infra-openstack/ansible
parent0ad5c702b4e62d3223f0c2d2c382f18a441beb8e (diff)
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 <p.wieczorek2@samsung.com>
Diffstat (limited to 'deployment/noheat/infra-openstack/ansible')
-rw-r--r--deployment/noheat/infra-openstack/ansible/create.yml6
1 files changed, 6 insertions, 0 deletions
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"