env-ansible/tasks/harden.yml

16 lines
338 B
YAML
Raw Normal View History

- name: Remove CUPS Daemon
service:
name: "{{ cups }}"
pattern: "{{ cups_pattern }}"
2020-12-28 19:39:07 -06:00
state: stopped
enabled: no
2021-01-31 14:00:04 -06:00
failed_when: "(1 == 0)"
- name: Remove CUPS-Browse Daemon
service:
name: "{{ cups_browse }}"
pattern: "{{ cups_browse_pattern }}"
2020-12-28 19:39:07 -06:00
state: stopped
enabled: no
2021-01-31 14:00:04 -06:00
failed_when: "(1 == 0)"