Switch to {{ undercloud_user }} for rsync
{{ ansible_working_dir }} doesn't seem to expand to a valid path when the playbook is ran by zuul. Switching to {{ undercloud_user }} seems to work. Change-Id: I0d89e379eae257289dc2fe560ccdaa14bdea9047
This commit is contained in:
parent
ebb6db142c
commit
be6f1527c8
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
- name: Copy ha-test-suite on controllers
|
- name: Copy ha-test-suite on controllers
|
||||||
shell: >
|
shell: >
|
||||||
/usr/bin/rsync --delay-updates -F --compress --archive -e 'ssh -F {{ local_working_dir }}/ssh.config.ansible' {{ local_working_dir }}/tripleo-ha-utils/tools/ha-test-suite {{ hostvars[item]['ansible_hostname'] }}:
|
/usr/bin/rsync --delay-updates -F --compress --archive -e 'ssh -F {{ local_working_dir }}/ssh.config.ansible' /home/{{ undercloud_user }}/src/git.openstack.org/openstack/tripleo-ha-utils/tools/ha-test-suite {{ hostvars[item]['ansible_hostname'] }}:
|
||||||
delegate_to: "localhost"
|
delegate_to: "localhost"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ groups['controller'] }}"
|
- "{{ groups['controller'] }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user