Install fedfind when installing autocloud
This commit is contained in:
parent
877cc8b7be
commit
7ff1f92c2c
1 changed files with 20 additions and 0 deletions
|
@ -41,6 +41,26 @@
|
||||||
dnf: name="tunir" state=latest enablerepo=infrastructure-testing
|
dnf: name="tunir" state=latest enablerepo=infrastructure-testing
|
||||||
when: testing
|
when: testing
|
||||||
|
|
||||||
|
- name: update fedfind
|
||||||
|
hosts: autocloud-backend:autocloud-backend-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 }}/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-testing
|
||||||
|
when: testing
|
||||||
|
|
||||||
- name: verify the frontend and stop it
|
- name: verify the frontend and stop it
|
||||||
hosts: autocloud-web:autocloud-web-stg
|
hosts: autocloud-web:autocloud-web-stg
|
||||||
user: root
|
user: root
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue