fetch-zuul-cloner: replace /home/zuul by ansible_user_dir

This change enables the zuul-cloner to be used with a custom user directory
location.

Change-Id: I2632abfbc05e985e4dca526bdce3d3ee870bb390
This commit is contained in:
Tristan Cacqueray 2019-11-21 22:17:14 +00:00
parent 3c4f23ec43
commit 4a87a3a56b

View File

@ -2,7 +2,7 @@
hosts: all
vars:
destination: "/usr/zuul-env/bin/zuul-cloner"
repo_src_dir: "/home/zuul/src/opendev.org"
repo_src_dir: "{{ ansible_user_dir }}/src/opendev.org"
roles:
- role: fetch-zuul-cloner
post_tasks: