From a4a455ff6f0032afef6500dccb007b0d9a90cb43 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 4 Aug 2017 09:50:02 +0200 Subject: [PATCH] Activate distgit/pagure in prod and on pkgs01.stg (so not pkgs02.stg) --- playbooks/groups/pkgs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/groups/pkgs.yml b/playbooks/groups/pkgs.yml index e212edf3a0..162ed78d7e 100644 --- a/playbooks/groups/pkgs.yml +++ b/playbooks/groups/pkgs.yml @@ -39,7 +39,8 @@ - role: distgit tags: distgit - { role: hosts, when: env == "staging" } - - { role: distgit/pagure, when: env == "staging" and inventory_hostname.startswith('pkgs01') } + - { role: distgit/pagure, + when: env != "staging" or inventory_hostname.startswith('pkgs01') } tasks: - name: Copy keytab