ansible-edda/playbooks/00-hosts.yml

31 lines
1005 B
YAML

---
- name: Configure hosts
hosts: asgard
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/systemd-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
- name: Configure yggdrasil extras
hosts: yggdrasil
tasks:
- import_tasks: tasks/hosts/zfs-conf.yml
- import_tasks: tasks/hosts/zfs-scrub.yml
- import_tasks: tasks/hosts/zfs-trim.yml
- import_tasks: tasks/hosts/zfs-extra.yml
- import_tasks: tasks/hosts/zfsutils-cron.yml
- import_tasks: tasks/hosts/ups.yml
- import_tasks: tasks/hosts/smart.yml