pdc: Replace the yum module by the package module
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
9de9b3ea66
commit
76e02b1f3d
1 changed files with 4 additions and 7 deletions
|
@ -12,13 +12,10 @@
|
|||
- name: clean all metadata
|
||||
command: yum clean all
|
||||
check_mode: no
|
||||
- name: yum update PDC packages
|
||||
yum: name="{{item}}" state=latest
|
||||
with_items:
|
||||
- pdc-client
|
||||
- pdc-updater
|
||||
- libmodulemd
|
||||
- python2-productmd
|
||||
- name: update PDC packages
|
||||
package:
|
||||
name=["pdc-client", "pdc-updater", "libmodulemd", "python2-productmd"]
|
||||
state=latest
|
||||
|
||||
roles:
|
||||
- pdc/backend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue