autocloud: dnf -> package

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2019-06-11 16:41:05 +01:00 committed by pingou
parent 094891b29c
commit 72829aebef

View file

@ -14,10 +14,10 @@
- name: clean all metadata
command: dnf clean all
check_mode: no
- name: dnf update autocloud packages from main repo
dnf: name="autocloud*" state=latest
- name: update autocloud packages from main repo
package: name="autocloud*" state=latest
when: not testing
- name: dnf update autocloud packages from testing repo
- name: update autocloud packages from testing repo
dnf: name="autocloud*" state=latest enablerepo=infrastructure-tags-stg
when: testing
@ -34,10 +34,10 @@
- import_tasks: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: dnf update tunir packages from main repo
dnf: name="tunir" state=latest
- name: update tunir packages from main repo
package: name="tunir" state=latest
when: not testing
- name: dnf update tunir packages from testing repo
- name: update tunir packages from testing repo
dnf: name="tunir" state=latest enablerepo=infrastructure-tags-stg
when: testing
@ -54,10 +54,10 @@
- import_tasks: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: dnf update fedfind packages from main repo
dnf: name="fedfind" state=latest
- name: update fedfind packages from main repo
package: name="fedfind" state=latest
when: not testing
- name: dnf update fedfind packages from testing repo
- name: update fedfind packages from testing repo
dnf: name="fedfind" state=latest enablerepo=infrastructure-tags-stg
when: testing
@ -74,10 +74,10 @@
- import_tasks: "{{ handlers_path }}/restart_services.yml"
tasks:
- name: dnf update fedfind packages from main repo
dnf: name="python2-fedfind" state=latest
- name: update fedfind packages from main repo
package: name="python2-fedfind" state=latest
when: not testing
- name: dnf update fedfind packages from testing repo
- name: update fedfind packages from testing repo
dnf: name="python2-fedfind" state=latest enablerepo=infrastructure-tags-stg
when: testing