env-ansible/tasks/harden.yml

16 lines
330 B
YAML

- name: Remove CUPS Daemon
service:
name: "{{ cups }}"
pattern: "{{ cups_pattern }}"
state: stopped
enabled: no
failed_when: 1 == 0
- name: Remove CUPS-Browse Daemon
service:
name: "{{ cups_browse }}"
pattern: "{{ cups_browse_pattern }}"
state: stopped
enabled: no
failed_when: 1 == 0