env-ansible/local.yml

39 lines
741 B
YAML
Raw Normal View History

---
# Harmonize my systems rather than doing everything manually. :)
2020-12-28 18:37:37 -06:00
2020-12-28 20:06:41 -06:00
# Everything
2020-12-31 18:00:53 -06:00
- name: Initial Setup
2020-12-31 18:07:49 -06:00
hosts: all, localhost
connection: local
2020-12-28 20:06:41 -06:00
become: true
pre_tasks:
- include: facts/filesystem_names.yml
- include: facts/package_names.yml
- include: facts/service_names.yml
2020-12-28 20:06:41 -06:00
tasks:
2020-12-21 04:52:37 -06:00
- include: tasks/users.yml
- include: tasks/cron.yml
- include: tasks/packages.yml
- include: tasks/harden.yml
2020-12-28 20:06:41 -06:00
# Desktops and laptops
2020-12-31 18:00:53 -06:00
- name: UI Setup
hosts: workstation
connection: local
become: true
2020-12-28 20:06:41 -06:00
tasks:
2020-12-21 05:25:19 -06:00
- include: tasks/flatpaks.yml
# Run hardness checks
2020-12-31 18:00:53 -06:00
- name: Hardening Check
hosts: all, localhost
connection: local
become: true
tasks:
- include: tasks/hardness_check_lynis.yml