From 32e5fc6ebd063a9ffec8377ca1c3d78ae4ea2cb1 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 31 Mar 2016 14:05:25 +0100 Subject: [PATCH] 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: I0caa632140cb89ab8ba2e3823f43081b7a9ba25c --- meta/main.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index 42857784..a2048503 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -30,9 +30,12 @@ galaxy_info: - development - openstack dependencies: - - apt_package_pinning - - galera_client - - openstack_openrc - role: pip_lock_down when: - not nova_developer_mode | bool + - role: pip_install + when: + - nova_developer_mode | bool + - apt_package_pinning + - galera_client + - openstack_openrc