From ae6fe5e560cb705c9da509d7b814d74a9ace81be Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Thu, 9 Feb 2017 19:55:03 +0000 Subject: [PATCH] Explicitly only use the main repo when not testing When the Anitya package gets updated, only use the main repo when testing is not on. Signed-off-by: Jeremy Cline --- playbooks/manual/upgrade/anitya.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/manual/upgrade/anitya.yml b/playbooks/manual/upgrade/anitya.yml index 3c2b68bd0c..e1fa0ffe08 100644 --- a/playbooks/manual/upgrade/anitya.yml +++ b/playbooks/manual/upgrade/anitya.yml @@ -13,6 +13,7 @@ check_mode: no - name: yum update anitya packages from main repo yum: name="anitya" state=latest + when: not testing - name: yum update anitya packages from testing repo yum: name="anitya" state=latest enablerepo=infrastructure-testing when: testing