From d434e8d6c9d181ee9c4ac907b122845b9fb1eee2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 5 Sep 2017 11:59:08 +0200 Subject: [PATCH] Adjust the update-packages playbook for the infrastructure-tags-stg repo --- playbooks/manual/update-packages.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/manual/update-packages.yml b/playbooks/manual/update-packages.yml index 0003b8dd66..7b6eb9344d 100644 --- a/playbooks/manual/update-packages.yml +++ b/playbooks/manual/update-packages.yml @@ -20,7 +20,7 @@ when: not testing and ansible_distribution_major_version|int < 22 - name: yum update {{ package }} from testing repo - yum: name="{{ package }}" state=latest enablerepo=infrastructure-testing update_cache=yes + yum: name="{{ package }}" state=latest enablerepo=infrastructure-tags-stg update_cache=yes when: testing and ansible_distribution_major_version|int < 22 - name: dnf clean all (since we can't do it when updating) @@ -32,10 +32,10 @@ when: not testing and ansible_distribution_major_version|int > 21 - name: dnf clean all (since we can't do it when updating) - command: dnf clean all --enablerepo=infrastructure-testing + command: dnf clean all --enablerepo=infrastructure-tags-stg when: testing and ansible_distribution_major_version|int > 21 - name: dnf update {{ package }} from testing repo - dnf: name="{{ package }}" state=latest enablerepo=infrastructure-testing + dnf: name="{{ package }}" state=latest enablerepo=infrastructure-tags-stg when: testing and ansible_distribution_major_version|int > 21