Add auto update for RHEL linux family
This commit is contained in:
parent
3146f61cc3
commit
a53e09ce2f
3 changed files with 92 additions and 0 deletions
|
|
@ -53,6 +53,16 @@
|
|||
#0
|
||||
#UTC
|
||||
|
||||
- name: "Configure auto update for RHEL linux family"
|
||||
template:
|
||||
src: etc/yum/yum-cron.conf.j2
|
||||
dest: /etc/yum/yum-cron.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
when:
|
||||
- ansible_os_family == "RedHat"
|
||||
|
||||
- name: upgrade all packages
|
||||
package:
|
||||
name: "*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue