Use package module, add update_cache
This commit is contained in:
parent
6f4dbbeeab
commit
55ad5aff48
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
- name: Update CA-Certificates
|
||||
yum:
|
||||
package:
|
||||
name: ca-certificates
|
||||
state: latest
|
||||
|
||||
|
@ -24,3 +24,8 @@
|
|||
force: no
|
||||
|
||||
|
||||
- name: Update cache
|
||||
package:
|
||||
update_cache: true
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue