diff --git a/playbooks/manual/upgrade/anitya.yml b/playbooks/manual/upgrade/anitya.yml index 8d8971bb7b..1ed2bb1630 100644 --- a/playbooks/manual/upgrade/anitya.yml +++ b/playbooks/manual/upgrade/anitya.yml @@ -9,13 +9,13 @@ - include: "{{ handlers_path }}/restart_services.yml" tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} 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 + yum: name="anitya" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the frontend diff --git a/playbooks/manual/upgrade/autocloud.yml b/playbooks/manual/upgrade/autocloud.yml index a893a5f582..497bf75419 100644 --- a/playbooks/manual/upgrade/autocloud.yml +++ b/playbooks/manual/upgrade/autocloud.yml @@ -18,7 +18,7 @@ dnf: name="autocloud*" state=latest when: not testing - name: dnf update autocloud packages from testing repo - dnf: name="autocloud*" state=latest enablerepo=infrastructure-testing + dnf: name="autocloud*" state=latest enablerepo=infrastructure-tags-stg when: testing - name: update tunir @@ -38,7 +38,7 @@ dnf: name="tunir" state=latest when: not testing - name: dnf update tunir packages from testing repo - dnf: name="tunir" state=latest enablerepo=infrastructure-testing + dnf: name="tunir" state=latest enablerepo=infrastructure-tags-stg when: testing - name: update fedfind @@ -58,7 +58,7 @@ dnf: name="fedfind" state=latest when: not testing - name: dnf update fedfind packages from testing repo - dnf: name="fedfind" state=latest enablerepo=infrastructure-testing + dnf: name="fedfind" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the frontend and stop it diff --git a/playbooks/manual/upgrade/badges.yml b/playbooks/manual/upgrade/badges.yml index b09a1a0d67..a07f62e06d 100644 --- a/playbooks/manual/upgrade/badges.yml +++ b/playbooks/manual/upgrade/badges.yml @@ -12,7 +12,7 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update tahrir/badges packages from main repo yum: name={{item}} state=latest @@ -21,7 +21,7 @@ - python-tahrir - python-tahrir-api - name: yum update tahrir/badges packages from testing repo - yum: name={{item}} state=latest enablerepo=infrastructure-testing + yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg when: testing with_items: - python-tahrir @@ -41,7 +41,7 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update tahrir/badges packages from main repo yum: name={{item}} state=latest @@ -50,7 +50,7 @@ - python-fedbadges - python-tahrir-api - name: yum update tahrir/badges packages from testing repo - yum: name={{item}} state=latest enablerepo=infrastructure-testing + yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg when: testing with_items: - python-fedbadges diff --git a/playbooks/manual/upgrade/bugyou.yml b/playbooks/manual/upgrade/bugyou.yml index a17b3ae189..e627a9249c 100644 --- a/playbooks/manual/upgrade/bugyou.yml +++ b/playbooks/manual/upgrade/bugyou.yml @@ -12,13 +12,13 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} always_run: yes - name: yum update bugyou packages from main repo yum: name="bugyou*" state=latest when: not testing - name: yum update bugyou packages from testing repo - yum: name="bugyou*" state=latest enablerepo=infrastructure-testing + yum: name="bugyou*" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the backends, stop them, and then upgrade the db diff --git a/playbooks/manual/upgrade/bugzilla2fedmsg.yml b/playbooks/manual/upgrade/bugzilla2fedmsg.yml index 4cda0555f6..5ffb6edd9f 100644 --- a/playbooks/manual/upgrade/bugzilla2fedmsg.yml +++ b/playbooks/manual/upgrade/bugzilla2fedmsg.yml @@ -12,13 +12,13 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update bugzilla2fedmsg packages from main repo yum: name="python-bugzilla2fedmsg" state=latest when: not testing - name: yum update bugzilla2fedmsg packages from testing repo - yum: name="python-bugzilla2fedmsg" state=latest enablerepo=infrastructure-testing + yum: name="python-bugzilla2fedmsg" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the backend and restart it diff --git a/playbooks/manual/upgrade/datagrepper.yml b/playbooks/manual/upgrade/datagrepper.yml index c65f4b5699..d15094bfbe 100644 --- a/playbooks/manual/upgrade/datagrepper.yml +++ b/playbooks/manual/upgrade/datagrepper.yml @@ -12,13 +12,13 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update datagrepper packages from main repo yum: name="datagrepper" state=latest when: not testing - name: yum update datagrepper packages from testing repo - yum: name="datagrepper" state=latest enablerepo=infrastructure-testing + yum: name="datagrepper" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the config and restart it diff --git a/playbooks/manual/upgrade/datanommer.yml b/playbooks/manual/upgrade/datanommer.yml index 773cdfe0c2..caaaf9e2cf 100644 --- a/playbooks/manual/upgrade/datanommer.yml +++ b/playbooks/manual/upgrade/datanommer.yml @@ -20,13 +20,13 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update datanommer packages from main repo yum: name="*datanommer*" state=latest when: not testing - name: yum update datanommer packages from testing repo - yum: name="*datanommer*" state=latest enablerepo=infrastructure-testing + yum: name="*datanommer*" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the badges backend and stop it diff --git a/playbooks/manual/upgrade/fedimg.yml b/playbooks/manual/upgrade/fedimg.yml index 19252e92b7..80b54cb048 100644 --- a/playbooks/manual/upgrade/fedimg.yml +++ b/playbooks/manual/upgrade/fedimg.yml @@ -12,7 +12,7 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update fedimg packages from main repo yum: name="python-fedimg" state=latest @@ -21,7 +21,7 @@ yum: name="fedfind" state=latest when: not testing - name: yum update fedimg packages from testing repo - yum: name="python-fedimg" state=latest enablerepo=infrastructure-testing + yum: name="python-fedimg" state=latest enablerepo=infrastructure-tags-stg when: testing - name: yum update libcloud from testing repo yum: name="python2-libcloud" state=latest enablerepo=epel-testing diff --git a/playbooks/manual/upgrade/fedmsg.yml b/playbooks/manual/upgrade/fedmsg.yml index c1d818e67c..454a9cafd0 100644 --- a/playbooks/manual/upgrade/fedmsg.yml +++ b/playbooks/manual/upgrade/fedmsg.yml @@ -37,14 +37,14 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update fedmsg packages from the main repo yum: name={{item}} state=latest when: not testing with_items: "{{packages}}" - name: yum update fedmsg packages from testing repo - yum: name={{item}} state=latest enablerepo=infrastructure-testing + yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg when: testing with_items: "{{packages}}" diff --git a/playbooks/manual/upgrade/fmn.yml b/playbooks/manual/upgrade/fmn.yml index f2428fde4d..262168ff2b 100644 --- a/playbooks/manual/upgrade/fmn.yml +++ b/playbooks/manual/upgrade/fmn.yml @@ -12,13 +12,13 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update FMN packages from main repo yum: name="python-fmn" state=latest when: not testing - name: yum update FMN packages from testing repo - yum: pkg=python-fmn state=latest enablerepo=infrastructure-testing + yum: pkg=python-fmn state=latest enablerepo=infrastructure-tags-stg when: testing - name: yum update FMN packages from testing repo yum: pkg=python-fmn state=latest enablerepo=epel-testing diff --git a/playbooks/manual/upgrade/hotness.yml b/playbooks/manual/upgrade/hotness.yml index 0de2a03ef1..4de480aff6 100644 --- a/playbooks/manual/upgrade/hotness.yml +++ b/playbooks/manual/upgrade/hotness.yml @@ -12,13 +12,13 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update hotness packages from main repo yum: name="the-new-hotness" state=latest when: not testing - name: yum update hotness packages from testing repo - yum: name="the-new-hotness" state=latest enablerepo=infrastructure-testing + yum: name="the-new-hotness" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the backend and restart it diff --git a/playbooks/manual/upgrade/mbs.yml b/playbooks/manual/upgrade/mbs.yml index f9b9d7a0be..f1e9bd55fd 100644 --- a/playbooks/manual/upgrade/mbs.yml +++ b/playbooks/manual/upgrade/mbs.yml @@ -12,7 +12,7 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update mbs packages from main repo yum: name={{item}} state=latest @@ -21,7 +21,7 @@ - module-build-service - python-modulemd - name: yum update mbs packages from testing repo - yum: name={{item}} state=latest enablerepo=infrastructure-testing + yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg when: testing with_items: - module-build-service @@ -41,7 +41,7 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update mbs packages from main repo yum: name={{item}} state=latest @@ -50,7 +50,7 @@ - module-build-service - python-modulemd - name: yum update mbs packages from testing repo - yum: name={{item}} state=latest enablerepo=infrastructure-testing + yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg when: testing with_items: - module-build-service diff --git a/playbooks/manual/upgrade/mote.yml b/playbooks/manual/upgrade/mote.yml index 91ead01c51..d1fa68478c 100644 --- a/playbooks/manual/upgrade/mote.yml +++ b/playbooks/manual/upgrade/mote.yml @@ -12,13 +12,13 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update mote packages from main repo yum: name="mote" state=latest when: not testing - name: yum update mote packages from testing repo - yum: name="mote" state=latest enablerepo=infrastructure-testing + yum: name="mote" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the config and restart it diff --git a/playbooks/manual/upgrade/odcs.yml b/playbooks/manual/upgrade/odcs.yml index dcdbf5c286..2fb37c2b9d 100644 --- a/playbooks/manual/upgrade/odcs.yml +++ b/playbooks/manual/upgrade/odcs.yml @@ -12,8 +12,8 @@ - include: "{{ handlers_path }}/restart_services.yml" tasks: - - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + - name: clean all metadata {%if testing%}(with infrastructure-tags-stg on){%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update odcs packages from main repo yum: name={{item}} state=latest @@ -21,7 +21,7 @@ with_items: - odcs - name: yum update odcs packages from testing repo - yum: name={{item}} state=latest enablerepo=infrastructure-testing + yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg when: testing with_items: - odcs @@ -40,8 +40,8 @@ - include: "{{ handlers_path }}/restart_services.yml" tasks: - - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + - name: clean all metadata {%if testing%}(with infrastructure-tags-stg on){%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update odcs packages from main repo yum: name={{item}} state=latest @@ -49,7 +49,7 @@ with_items: - odcs - name: yum update odcs packages from testing repo - yum: name={{item}} state=latest enablerepo=infrastructure-testing + yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg when: testing with_items: - odcs diff --git a/playbooks/manual/upgrade/packages.yml b/playbooks/manual/upgrade/packages.yml index a7cc6e2556..4e9ab3a819 100644 --- a/playbooks/manual/upgrade/packages.yml +++ b/playbooks/manual/upgrade/packages.yml @@ -12,13 +12,13 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update fedora-packages packages from main repo yum: name="fedora-packages" state=latest when: not testing - name: yum update fedora-packages packages from testing repo - yum: name="fedora-packages" state=latest enablerepo=infrastructure-testing + yum: name="fedora-packages" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the config and restart it diff --git a/playbooks/manual/upgrade/pagure.yml b/playbooks/manual/upgrade/pagure.yml index eb429f3ae5..875eacb511 100644 --- a/playbooks/manual/upgrade/pagure.yml +++ b/playbooks/manual/upgrade/pagure.yml @@ -35,7 +35,7 @@ - name: yum update pagure* packages from testing repo yum: name="pagure*" state=latest - enablerepo=infrastructure-testing + enablerepo=infrastructure-tags-stg update_cache=yes when: testing diff --git a/playbooks/manual/upgrade/statscache.yml b/playbooks/manual/upgrade/statscache.yml index eabb2df6e4..75e5fceff6 100644 --- a/playbooks/manual/upgrade/statscache.yml +++ b/playbooks/manual/upgrade/statscache.yml @@ -12,13 +12,13 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update statscache packages from main repo yum: name="statscache*" state=latest when: not testing - name: yum update statscache packages from testing repo - yum: name="statscache*" state=latest enablerepo=infrastructure-testing + yum: name="statscache*" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the frontend and stop it diff --git a/playbooks/manual/upgrade/tagger.yml b/playbooks/manual/upgrade/tagger.yml index 652e461879..3d262f7491 100644 --- a/playbooks/manual/upgrade/tagger.yml +++ b/playbooks/manual/upgrade/tagger.yml @@ -12,13 +12,13 @@ tasks: - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - command: yum clean all {%if testing%} --enablerepo=infrastructure-testing {%endif%} + command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} check_mode: no - name: yum update fedora-tagger packages from main repo yum: name="fedora-tagger" state=latest when: not testing - name: yum update fedora-tagger packages from testing repo - yum: name="fedora-tagger" state=latest enablerepo=infrastructure-testing + yum: name="fedora-tagger" state=latest enablerepo=infrastructure-tags-stg when: testing - name: verify the config and restart it