openstack-ansible/zuul.d/playbooks
Logan V 47eddb946b Use ZUUL_SRC_PATH to pass the path to Zuul git sources
To make get-ansible-role-requirements usable for 3rd party Zuul based
CI, which may have test nodes that do not conform to the previously
hard-coded /home/zuul home path for Zuul workers, we need to make
this Zuul sources path dynamic based on the home directory of the
Zuul worker user.

However, we cannot rely on {{ ansible_user_dir }} inside
get-ansible-role-requirements.yml, since it uses become: yes. This
means ansible_user_dir will be /root, rather than the Zuul user's
home directory.

The solution is to pass the ZUUL_SRC_PATH that Zuul is operating
with into the OSA test job environment, and use this environment var
inside our role cloning playbook to locate the Zuul sources.

Change-Id: Id71c6502741285e7b83d40be8006e82c9960b7ff
2018-08-08 20:41:32 +00:00
..
post.yml Fix ARA/log data collection and reporting 2018-02-15 19:51:30 +00:00
run.yml Use ZUUL_SRC_PATH to pass the path to Zuul git sources 2018-08-08 20:41:32 +00:00