autocloud: dnf -> package
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
094891b29c
commit
72829aebef
1 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue