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