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:
Luca Miccini 2019-04-10 13:54:51 +02:00
parent ebb6db142c
commit be6f1527c8
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
- name: Copy ha-test-suite on controllers
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"
with_items:
- "{{ groups['controller'] }}"