2018-11-15 20:38:39 +00:00
|
|
|
---
|
|
|
|
- block:
|
|
|
|
- name: Upgrade all packages
|
2021-06-05 13:30:47 +00:00
|
|
|
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
|
2019-05-20 06:25:03 +00:00
|
|
|
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
|