Fix the fedimg upgrade playbook

Signed-off-by: Sayan Chowdhury <sayanchowdhury@fedoraproject.org>
This commit is contained in:
Sayan Chowdhury 2017-10-10 08:56:46 +00:00
parent f4b345c5de
commit 48746debfe

View file

@ -37,11 +37,11 @@
- include: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: dnf update fedfind packages from main repo
dnf: name="fedfind" state=latest
- name: yum update fedfind packages from main repo
yum: name="fedfind" state=latest
when: not testing
- name: dnf update fedfind packages from testing repo
dnf: name="fedfind" state=latest enablerepo=infrastructure-tags-stg
- name: yum update fedfind packages from testing repo
yum: name="fedfind" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: update python2-fedfind
@ -57,11 +57,11 @@
- include: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: dnf update fedfind packages from main repo
dnf: name="python2-fedfind" state=latest
- name: yum update fedfind packages from main repo
yum: name="python2-fedfind" state=latest
when: not testing
- name: dnf update fedfind packages from testing repo
dnf: name="python2-fedfind" state=latest enablerepo=infrastructure-tags-stg
- name: yum update fedfind packages from testing repo
yum: name="python2-fedfind" state=latest enablerepo=infrastructure-tags-stg
when: testing
- name: verify the backend and restart it