Update gear_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: I96c71c03ecd7ce644a4ddfc5ee4a19a42f83890f
Depends-On: https://review.openstack.org/553100
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-03-14 19:34:24 -04:00
parent 366c944683
commit 66fc8c0b4c
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 1 additions and 3 deletions

View File

@ -25,7 +25,7 @@ gear_user_group: gear
gear_user_home: /var/lib/gear
# tasks/install.yaml
gear_git_dest: /opt/ansible-role-gear/git/openstack-infra/gear
gear_git_dest: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/gear"
gear_git_uri: https://git.openstack.org/openstack-infra/gear
gear_git_version: master
# gear_git_refspec:

View File

@ -13,7 +13,6 @@
# under the License.
---
- name: Git clone gear.
become: yes
git:
dest: "{{ gear_git_dest }}"
refspec: "{{ gear_git_refspec|default(omit) }}"

View File

@ -14,7 +14,6 @@
---
- hosts: all
vars:
gear_git_dest: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/gear"
gear_git_update: false
rolename: ansible-role-gearman