Make patching async because it can take some time.

This commit is contained in:
Jason Rothstein 2021-06-28 20:13:49 -05:00
parent 18a82ac36e
commit fe3c5c948f

View File

@ -18,6 +18,8 @@
ansible.builtin.package: ansible.builtin.package:
name: '*' name: '*'
state: 'latest' state: 'latest'
async: 900
poll: 5
notify: notify:
- 'ensure_os_patch.package_facts' - 'ensure_os_patch.package_facts'
- 'ensure_os_patch.service_facts' - 'ensure_os_patch.service_facts'
@ -29,6 +31,8 @@
autoclean: 'yes' autoclean: 'yes'
autoremove: 'yes' autoremove: 'yes'
upgrade: 'dist' upgrade: 'dist'
async: 900
poll: 5
notify: notify:
- 'ensure_os_patch.package_facts' - 'ensure_os_patch.package_facts'
- 'ensure_os_patch.service_facts' - 'ensure_os_patch.service_facts'