Finish harden so that CUPS gets disabled. Add to local.yml. Change localhost to all to avoid warnings.
This commit is contained in:
parent
4c0af3cdc9
commit
ed6b5d5fad
@ -1,16 +1,13 @@
|
|||||||
---
|
---
|
||||||
# Harmonize my systems rather than doing everything manually. :)
|
# Harmonize my systems rather than doing everything manually. :)
|
||||||
- hosts: localhost
|
- hosts: all
|
||||||
connection: local
|
connection: local
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- include: tasks/users.yml
|
- include: tasks/users.yml
|
||||||
- include: tasks/cron.yml
|
- include: tasks/cron.yml
|
||||||
- include: tasks/packages.yml
|
- include: tasks/packages.yml
|
||||||
when: ansible_distribution == "Ubuntu"
|
- include: tasks/harden.yml
|
||||||
|
|
||||||
- include: tasks/flatpaks.yml
|
|
||||||
when: ansible_distribution == "Pop!_OS"
|
|
||||||
|
|
||||||
- hosts: workstation
|
- hosts: workstation
|
||||||
become: true
|
become: true
|
||||||
|
9
tasks/harden.yml
Normal file
9
tasks/harden.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
- name: Remove CUPS Daemon
|
||||||
|
service:
|
||||||
|
name: cupsd
|
||||||
|
state: stopped, disabled
|
||||||
|
|
||||||
|
- name: Remove CUPS-Browse Daemon
|
||||||
|
service:
|
||||||
|
name: cupsd
|
||||||
|
state: stopped, disabled
|
Loading…
x
Reference in New Issue
Block a user