kubeasz/roles/os-harden/tasks/apt.yml

8 lines
207 B
YAML
Raw Normal View History

---
- name: remove deprecated or insecure packages | package-01 - package-09
apt:
2021-01-19 23:35:31 +08:00
name: '{{ os_security_packages_list }}'
state: 'absent'
2021-01-19 23:35:31 +08:00
purge: 'yes'
when: os_security_packages_clean | bool