Add support for apt based distributions like Debian
This commit is contained in:
		| @@ -20,6 +20,14 @@ | |||||||
|   notify: |   notify: | ||||||
|     - 'ensure_os_patch.package_facts' |     - 'ensure_os_patch.package_facts' | ||||||
|     - 'ensure_os_patch.service_facts' |     - 'ensure_os_patch.service_facts' | ||||||
|  | - name: 'ensure patch' | ||||||
|  |   when: | ||||||
|  |     - ansible_system == 'Linux' | ||||||
|  |     - ansible_pkg_mgr == 'apt' | ||||||
|  |   apt: | ||||||
|  |     autoclean: 'yes' | ||||||
|  |     autoremove: 'yes' | ||||||
|  |     upgrade: 'dist' | ||||||
| - name: 'flush handlers' | - name: 'flush handlers' | ||||||
|   meta: 'flush_handlers' |   meta: 'flush_handlers' | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user