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. :)
|
||||
- hosts: localhost
|
||||
- hosts: all
|
||||
connection: local
|
||||
become: true
|
||||
tasks:
|
||||
- include: tasks/users.yml
|
||||
- include: tasks/cron.yml
|
||||
- include: tasks/packages.yml
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
|
||||
- include: tasks/flatpaks.yml
|
||||
when: ansible_distribution == "Pop!_OS"
|
||||
- include: tasks/harden.yml
|
||||
|
||||
- hosts: workstation
|
||||
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