public-health-ch/ansible/roles/dev-sec.os-hardening/tasks/apt.yml

9 lines
218 B
YAML
Raw Normal View History

2017-04-24 12:22:51 +00:00
---
2018-12-17 12:50:15 +00:00
- name: remove deprecated or insecure packages | package-01 - package-09
apt:
name: '{{ item }}'
state: 'absent'
2017-04-24 12:22:51 +00:00
with_items:
2018-12-17 12:50:15 +00:00
- '{{ os_security_packages_list }}'
when: 'os_security_packages_clean'