Fix ansible core 2.20 changes and remove OS that are out of support
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
# tasks file for ensure_os_patch
|
||||
- name: 'ensure Debian patch'
|
||||
when:
|
||||
- ansible_system == 'Linux'
|
||||
- ansible_pkg_mgr == 'apt'
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
- ansible_facts["pkg_mgr"]== 'apt'
|
||||
ansible.builtin.apt:
|
||||
autoclean: 'yes'
|
||||
autoremove: 'yes'
|
||||
@@ -13,4 +13,5 @@
|
||||
- 'ensure_os_patch.service_facts'
|
||||
- name: 'flush handlers'
|
||||
meta: 'flush_handlers'
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user