Use the package: module
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
60b34a0d32
commit
9cb785a853
1 changed files with 6 additions and 6 deletions
|
@ -12,10 +12,10 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: clean all metadata
|
- name: clean all metadata
|
||||||
command: dnf clean all
|
command: yum clean all
|
||||||
check_mode: no
|
check_mode: no
|
||||||
- name: dnf update odcs packages from main repo
|
- name: update odcs packages from main repo
|
||||||
dnf: name={{item}} state=latest
|
package: name={{item}} state=latest
|
||||||
when: not testing
|
when: not testing
|
||||||
with_items:
|
with_items:
|
||||||
- odcs
|
- odcs
|
||||||
|
@ -34,10 +34,10 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: clean all metadata
|
- name: clean all metadata
|
||||||
command: dnf clean all
|
command: yum clean all
|
||||||
check_mode: no
|
check_mode: no
|
||||||
- name: dnf update odcs packages from main repo
|
- name: update odcs packages from main repo
|
||||||
dnf: name={{item}} state=latest
|
package: name={{item}} state=latest
|
||||||
when: not testing
|
when: not testing
|
||||||
with_items:
|
with_items:
|
||||||
- odcs
|
- odcs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue