xoxys.yum/handlers/main.yml
Robert Kaussow 08b7100257
All checks were successful
continuous-integration/drone/push Build is passing
fix: solve linting issues
2021-02-04 21:57:36 +01:00

20 lines
384 B
YAML

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