Make patching async because it can take some time.
This commit is contained in:
		| @@ -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' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user