From 85a657dbf0b9ae1a3f27ecbca7426967fee726a1 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 4 Aug 2016 05:19:24 +0100 Subject: [PATCH] Add project group to role This patch adds a var used by the repo_build process to determine which host group to check for members of before building the pip packages required by this role. This provides the ability to optimise the repo build process to only building the packages that are required for an environment. Depends-On: Idda16b4f382eee57c7469af898859d6d81d4eb30 Change-Id: Iedb4c0c91daa291f881a9fc00c5b8c40bb312ce3 --- defaults/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 20719c02..622f367f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -313,6 +313,12 @@ swift_pypy_archive: swift_pypy_version: "{{ swift_pypy_archive['url'] | basename | replace('.tar.bz2', '') }}" swift_pypy_env: "/opt/pypy-runtime/{{ swift_pypy_version }}/bin/pypy" +# This variable is used by the repo_build process to determine +# which host group to check for members of before building the +# pip packages required by this role. The value is picked up +# by the py_pkgs lookup. +swift_role_project_group: swift_all + ## Tunable overrides swift_swift_conf_overrides: {} swift_swift_dispersion_conf_overrides: {}