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:
parent
366c944683
commit
66fc8c0b4c
@ -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:
|
||||
|
@ -13,7 +13,6 @@
|
||||
# under the License.
|
||||
---
|
||||
- name: Git clone gear.
|
||||
become: yes
|
||||
git:
|
||||
dest: "{{ gear_git_dest }}"
|
||||
refspec: "{{ gear_git_refspec|default(omit) }}"
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user