Add support for apt based distributions like Debian
This commit is contained in:
parent
05005fb2b7
commit
4cee19dc73
@ -20,6 +20,14 @@
|
||||
notify:
|
||||
- 'ensure_os_patch.package_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'
|
||||
meta: 'flush_handlers'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user