Update shade_git_dest location

Stop using /opt folder to store the location of git checkout. We don't
actually need to be root user to do that.

Change-Id: Ifc530e66ec886d094c5a3b3cd6078270439cd301
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-03-04 19:47:13 -05:00
parent c51a3db275
commit a2943f1d58
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 1 additions and 3 deletions

View File

@ -13,7 +13,7 @@
# under the License.
---
# tasks/config.yaml
shade_git_dest: /opt/ansible-role-shade/git/openstack-infra/shade
shade_git_dest: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/shade"
shade_git_uri: https://git.openstack.org/openstack-infra/shade
shade_git_version: master
# shade_git_update

View File

@ -13,7 +13,6 @@
# under the License.
---
- name: Git clone shade.
become: yes
git:
dest: "{{ shade_git_dest }}"
repo: "{{ shade_git_uri }}"

View File

@ -14,7 +14,6 @@
---
- hosts: all
vars:
shade_git_dest: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/shade"
shade_git_update: false
rolename: ansible-role-shade