Use DNF for odcs

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-10-31 09:25:27 +00:00
parent f8d55e697b
commit 60b34a0d32

View file

@ -12,10 +12,10 @@
tasks: tasks:
- name: clean all metadata - name: clean all metadata
command: yum clean all command: dnf clean all
check_mode: no check_mode: no
- name: yum update odcs packages from main repo - name: dnf update odcs packages from main repo
yum: name={{item}} state=latest dnf: 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: yum clean all command: dnf clean all
check_mode: no check_mode: no
- name: yum update odcs packages from main repo - name: dnf update odcs packages from main repo
yum: name={{item}} state=latest dnf: name={{item}} state=latest
when: not testing when: not testing
with_items: with_items:
- odcs - odcs