env-ansible/local.yml

32 lines
558 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
- hosts: all
2020-12-28 20:06:41 -06:00
become: true
pre_tasks:
- 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
- hosts: workstation
become: true
2020-12-28 20:06:41 -06:00
tasks:
2020-12-21 05:25:19 -06:00
- include: tasks/flatpaks.yml
# Display hardness checks
- hosts: all
become: true
tasks:
- include: tasks/hardness_check_lynis.yml