xoxys.yum/handlers/main.yml

20 lines
388 B
YAML
Raw Normal View History

2018-11-15 20:38:39 +00:00
---
- block:
- name: Upgrade all packages
package:
2018-11-15 20:38:39 +00:00
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
2021-02-04 20:57:36 +00:00
tags:
- skip_ansible_later
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