2022-09-22 23:01:27 +02:00
|
|
|
---
|
2022-09-25 16:00:40 +02:00
|
|
|
- name: Configure hosts
|
|
|
|
hosts: the_nine_worlds
|
2022-09-22 23:01:27 +02:00
|
|
|
|
|
|
|
tasks:
|
|
|
|
- import_tasks: tasks/hosts/sshd.yml
|
|
|
|
- import_tasks: tasks/hosts/firewall.yml
|
|
|
|
- import_tasks: tasks/hosts/ntp.yml
|
|
|
|
- import_tasks: tasks/hosts/mail.yml
|
|
|
|
- import_tasks: tasks/hosts/unattended-upgrades.yml
|
|
|
|
- import_tasks: tasks/hosts/fail2ban.yml
|
|
|
|
- import_tasks: tasks/hosts/fstrim.yml
|
|
|
|
- import_tasks: tasks/hosts/logs.yml
|
|
|
|
- import_tasks: tasks/hosts/motd.yml
|
|
|
|
- import_tasks: tasks/hosts/utils.yml
|
|
|
|
- import_tasks: tasks/hosts/user.yml
|
|
|
|
- import_tasks: tasks/hosts/root-shell.yml
|
|
|
|
|
2022-09-25 16:00:40 +02:00
|
|
|
- name: Configure yggdrasil extras
|
|
|
|
hosts: yggdrasil
|
2022-09-22 23:01:27 +02:00
|
|
|
|
|
|
|
tasks:
|
|
|
|
- import_tasks: tasks/hosts/systemd-mail.yml
|
|
|
|
- import_tasks: tasks/hosts/zfs-scrub.yml
|
|
|
|
- import_tasks: tasks/hosts/zfs-trim.yml
|
|
|
|
- import_tasks: tasks/hosts/zfsutils-cron.yml
|
|
|
|
- import_tasks: tasks/hosts/ups.yml
|
|
|
|
- import_tasks: tasks/hosts/smart.yml
|