2022-09-22 23:01:27 +02:00
|
|
|
---
|
2022-09-25 16:00:40 +02:00
|
|
|
- name: Configure hosts
|
2022-12-01 22:39:47 +01:00
|
|
|
hosts: asgard
|
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
|
2022-10-30 22:09:01 +01:00
|
|
|
- import_tasks: tasks/hosts/systemd-mail.yml
|
2022-09-22 23:01:27 +02:00
|
|
|
- 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:
|
2022-10-30 19:00:18 +01:00
|
|
|
- import_tasks: tasks/hosts/zfs-conf.yml
|
2022-09-22 23:01:27 +02:00
|
|
|
- import_tasks: tasks/hosts/zfs-scrub.yml
|
|
|
|
- import_tasks: tasks/hosts/zfs-trim.yml
|
2022-10-12 22:02:11 +02:00
|
|
|
- import_tasks: tasks/hosts/zfs-extra.yml
|
2022-09-22 23:01:27 +02:00
|
|
|
- import_tasks: tasks/hosts/zfsutils-cron.yml
|
|
|
|
- import_tasks: tasks/hosts/ups.yml
|
|
|
|
- import_tasks: tasks/hosts/smart.yml
|