Bodhi's upgrade playbook now enables infrastructure-tags-stg repo.

The repo used to be called infrastructure-testing, but it seems to
have been renamed to infrastructure-tags-stg. This commit adjusts
the playbook to use the new name.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2017-08-07 13:35:42 +00:00
parent 80bfbed342
commit 1bfd7d53ea

View file

@ -29,7 +29,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 bodhi-server packages from main repo
yum: name="{{ item }}" state=latest
@ -38,7 +38,7 @@
- bodhi-server
- python2-fedmsg-atomic-composer
- name: yum update bodhi-server packages from testing repo
yum: name="{{ item }}" state=latest enablerepo=infrastructure-testing
yum: name="{{ item }}" state=latest enablerepo=infrastructure-tags-stg
with_items:
- bodhi-docs
- bodhi-server