xoxys.yum/handlers/main.yml

18 lines
343 B
YAML
Raw Normal View History

2018-11-15 20:38:39 +00:00
---
- block:
- name: Upgrade all packages
yum:
name: "*"
state: latest
2019-06-20 20:19:03 +00:00
async: 1000
2018-11-15 20:38:39 +00:00
listen: __yum_upgrade
when: yum_upgrade_enabled | bool
2018-11-15 20:38:39 +00:00
- name: Restart yum-cron
service:
name: yum-cron
state: restarted
listen: __yum_cron_restart
become: True
become_user: root