Ensure that pip lock down happens before other dependencies

The pip_install role is depended on by a lot of other roles, and
therefore sometimes gets processed prior to the pip_lock_down
role resulting in the pip, setuptools and wheels packages being
installed from a source other than the repo server once the repo
server is available. This is not the intended behaviour - the
repo server should always be a the primary source once it's
available.

This patch ensures that the pip_lock_down role is applied before
all the other dependent roles to ensure that the expected
behaviour is followed.

Change-Id: I91ba49e5f6d46c2b2808e29609f7ed7086590669
This commit is contained in:
Jesse Pretorius 2016-03-31 13:57:23 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 59932118a0
commit a2662d7f8d
1 changed files with 6 additions and 3 deletions

View File

@ -30,9 +30,12 @@ galaxy_info:
- development
- openstack
dependencies:
- apt_package_pinning
- galera_client
- openstack_openrc
- role: pip_lock_down
when:
- not cinder_developer_mode | bool
- role: pip_install
when:
- cinder_developer_mode | bool
- apt_package_pinning
- galera_client
- openstack_openrc