xoxys.yum/handlers/main.yml
Robert Kaussow 4f9463be1a
All checks were successful
continuous-integration/drone/push Build is passing
run yum upgrade all handler async
2019-06-20 22:19:03 +02:00

18 lines
343 B
YAML

---
- block:
- name: Upgrade all packages
yum:
name: "*"
state: latest
async: 1000
listen: __yum_upgrade
when: yum_upgrade_enabled | bool
- name: Restart yum-cron
service:
name: yum-cron
state: restarted
listen: __yum_cron_restart
become: True
become_user: root