Added a variable so pkg-locations to be redefined
This change adds a variable to the repo-build.yml play so that a deployer can redefine the locations for roles and user_variables. This is useful for downstream deployers whom may not co-locate their roles within the OSA deployment repository, the default Ansible role directory, or within the /etc/openstack_deploy configuration directory. Change-Id: I4a470536203da2b2da18adf1b436503a77b75ce9 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
c4f45f5f08
commit
dc3b55b763
@ -21,10 +21,7 @@
|
|||||||
- name: Load local packages
|
- name: Load local packages
|
||||||
debug:
|
debug:
|
||||||
msg: "Loading Packages"
|
msg: "Loading Packages"
|
||||||
with_py_pkgs:
|
with_py_pkgs: "{{ pkg_locations }}"
|
||||||
- ../
|
|
||||||
- /etc/ansible/roles
|
|
||||||
- /etc/openstack_deploy
|
|
||||||
register: local_packages
|
register: local_packages
|
||||||
tags:
|
tags:
|
||||||
- repo-clone-repos
|
- repo-clone-repos
|
||||||
@ -44,3 +41,8 @@
|
|||||||
repo_build_pip_extra_index: "https://pypi.python.org/simple"
|
repo_build_pip_extra_index: "https://pypi.python.org/simple"
|
||||||
tags:
|
tags:
|
||||||
- "repo-build"
|
- "repo-build"
|
||||||
|
vars:
|
||||||
|
pkg_locations:
|
||||||
|
- ../
|
||||||
|
- /etc/ansible/roles
|
||||||
|
- /etc/openstack_deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user