16 lines
286 B
YAML
16 lines
286 B
YAML
|
---
|
||
|
- block:
|
||
|
- name: Upgrade all packages
|
||
|
yum:
|
||
|
name: "*"
|
||
|
state: latest
|
||
|
listen: __yum_upgrade
|
||
|
|
||
|
- name: Restart yum-cron
|
||
|
service:
|
||
|
name: yum-cron
|
||
|
state: restarted
|
||
|
listen: __yum_cron_restart
|
||
|
become: True
|
||
|
become_user: root
|