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>
dest: "{{ operation.inventory }}"
vars:
hosts: "{{ lookup('dict', hostvars['localhost']['hosts_dict']) }}"
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"