Create shade_git_update

It is possible, in the case of zuulv3, git repos are already on disk.
As a results, we don't want to update them.

Change-Id: I902e287e00c231f36935c1cea212f043e3bca6ef
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-10-21 16:02:26 -04:00
parent 6cdba6a985
commit 6ffd2b691f
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
shade_git_dest: /opt/ansible-role-shade/git/openstack-infra/shade
shade_git_uri: https://git.openstack.org/openstack-infra/shade
shade_git_version: master
# shade_git_update
shade_install_method: git

View File

@ -17,6 +17,7 @@
git:
dest: "{{ shade_git_dest }}"
repo: "{{ shade_git_uri }}"
update: "{{ shade_git_update|default(omit) }}"
version: "{{ shade_git_version }}"
- name: Pip install shade from local git repo.