Update diskimage_builder_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: I0e60ffe109e467d55d76fba4d0eb32e3de05c39f Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
c04806f349
commit
c9584a7e66
@ -17,11 +17,11 @@ diskimage_builder_task_manager:
|
|||||||
- install
|
- install
|
||||||
|
|
||||||
# tasks/config.yaml
|
# tasks/config.yaml
|
||||||
diskimage_builder_git_dest: /opt/ansible-role-diskimage-builder/git/openstack/diskimage-builder
|
diskimage_builder_git_dest: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/diskimage-builder"
|
||||||
diskimage_builder_git_uri: https://git.openstack.org/openstack/diskimage-builder
|
diskimage_builder_git_uri: https://git.openstack.org/openstack/diskimage-builder
|
||||||
|
diskimage_builder_git_version: master
|
||||||
# diskimage_builder_git_refspec:
|
# diskimage_builder_git_refspec:
|
||||||
# diskimage_builder_git_update:
|
# diskimage_builder_git_update:
|
||||||
# diskimage_builder_git_version:
|
|
||||||
|
|
||||||
diskimage_builder_install_method: git
|
diskimage_builder_install_method: git
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Git clone diskimage-builder.
|
- name: Git clone diskimage-builder.
|
||||||
become: yes
|
|
||||||
git:
|
git:
|
||||||
dest: "{{ diskimage_builder_git_dest }}"
|
dest: "{{ diskimage_builder_git_dest }}"
|
||||||
refspec: "{{ diskimage_builder_git_refspec|default(omit) }}"
|
refspec: "{{ diskimage_builder_git_refspec|default(omit) }}"
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
vars:
|
vars:
|
||||||
diskimage_builder_git_dest: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/diskimage-builder"
|
|
||||||
diskimage_builder_git_update: false
|
diskimage_builder_git_update: false
|
||||||
rolename: ansible-role-diskimage-builder
|
rolename: ansible-role-diskimage-builder
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user