Add zuul_git_update setting

It is possible we do not want to update git repos or already have git
repos on disk.

Change-Id: I5095cdc3c0d25027164d98f36c8ecbeba426a6cb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-11-01 12:15:12 -04:00
parent 83b74f9cfb
commit 0d6f61e697
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,7 @@ zuul_file_zuul_conf_src: etc/zuul/zuul.conf
zuul_git_dest: /opt/ansible-role-zuul/git/openstack-infra/zuul
zuul_git_uri: https://git.openstack.org/openstack-infra/zuul
zuul_git_version: feature/zuulv3
# zuul_git_update:
zuul_install_method: git

View File

@ -17,6 +17,7 @@
git:
dest: "{{ zuul_git_dest }}"
repo: "{{ zuul_git_uri }}"
update: "{{ zuul_git_update|default(omit) }}"
version: "{{ zuul_git_version }}"
- name: Set zuul_pip_name to local git repo.