ansible-edda/playbooks/hosts.yml

30 lines
969 B
YAML
Raw Normal View History

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
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