Make patching async because it can take some time.
This commit is contained in:
		| @@ -18,6 +18,8 @@ | ||||
|   ansible.builtin.package: | ||||
|     name: '*' | ||||
|     state: 'latest' | ||||
|   async: 900 | ||||
|   poll: 5 | ||||
|   notify: | ||||
|     - 'ensure_os_patch.package_facts' | ||||
|     - 'ensure_os_patch.service_facts' | ||||
| @@ -29,6 +31,8 @@ | ||||
|     autoclean: 'yes' | ||||
|     autoremove: 'yes' | ||||
|     upgrade: 'dist' | ||||
|   async: 900 | ||||
|   poll: 5 | ||||
|   notify: | ||||
|     - 'ensure_os_patch.package_facts' | ||||
|     - 'ensure_os_patch.service_facts' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user