xoxys.yum/handlers/main.yml
Robert Kaussow 93fafd7b25
All checks were successful
continuous-integration/drone/push Build is passing
optional yum upgrade and yum_cron setup
2019-05-20 08:25:03 +02:00

17 lines
325 B
YAML

---
- block:
- name: Upgrade all packages
yum:
name: "*"
state: latest
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