Make pkg_locations overridable easier

In case a deployer wants to override pkg_locations (for example
in order to add extra locations), this variable should be overriable
in user space.

This moves the variable to group_vars to make it overridable in
userspace easily.

Change-Id: I6a4616fe80d7bd9ed0fa6f5d4a88c18d0d75cf8c
This commit is contained in:
Jean-Philippe Evrard 2017-05-08 11:49:39 +00:00
parent bb1828954b
commit 6648266ab7
2 changed files with 5 additions and 5 deletions

View File

@ -66,3 +66,8 @@ repo_build_pip_no_binary:
# Set the build tag and the repo version
repo_build_release_tag: "{{ openstack_release }}"
repo_build_os_distro_version: "{{ os_distro_version }}"
pkg_locations:
- "{{ playbook_dir }}/../"
- /etc/ansible/roles
- /etc/openstack_deploy

View File

@ -125,11 +125,6 @@
- role: "repo_build"
vars_files:
- defaults/repo_packages/openstack_services.yml
vars:
pkg_locations:
- "{{ playbook_dir }}/../"
- /etc/ansible/roles
- /etc/openstack_deploy
environment: "{{ deployment_environment_variables | default({}) }}"
tags:
- repo-build