fedimg: Upgrade the fedfind package for the fedimg boxes also
Signed-off-by: Sayan Chowdhury <sayanchowdhury@fedoraproject.org>
This commit is contained in:
parent
257f1d2874
commit
f4b345c5de
1 changed files with 40 additions and 3 deletions
|
@ -17,9 +17,6 @@
|
|||
- name: yum update fedimg packages from main repo
|
||||
yum: name="python-fedimg" state=latest
|
||||
when: not testing
|
||||
- name: yum update fedfind package from main repo
|
||||
yum: name="fedfind" state=latest
|
||||
when: not testing
|
||||
- name: yum update fedimg packages from testing repo
|
||||
yum: name="python-fedimg" state=latest enablerepo=infrastructure-tags-stg
|
||||
when: testing
|
||||
|
@ -27,6 +24,46 @@
|
|||
yum: name="python2-libcloud" state=latest enablerepo=epel-testing
|
||||
when: not testing
|
||||
|
||||
- name: update fedfind
|
||||
hosts: fedimg:fedimg-stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
vars:
|
||||
testing: False
|
||||
handlers:
|
||||
- include: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
tasks:
|
||||
- name: dnf update fedfind packages from main repo
|
||||
dnf: name="fedfind" state=latest
|
||||
when: not testing
|
||||
- name: dnf update fedfind packages from testing repo
|
||||
dnf: name="fedfind" state=latest enablerepo=infrastructure-tags-stg
|
||||
when: testing
|
||||
|
||||
- name: update python2-fedfind
|
||||
hosts: fedimg:fedimg-stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
vars:
|
||||
testing: False
|
||||
handlers:
|
||||
- include: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
tasks:
|
||||
- name: dnf update fedfind packages from main repo
|
||||
dnf: 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
|
||||
when: testing
|
||||
|
||||
- name: verify the backend and restart it
|
||||
hosts: fedimg:fedimg-stg
|
||||
user: root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue