infrastructure/ansible/main.yml
Jake Howard ed59458f39
Some checks failed
/ terraform (push) Successful in 1m21s
/ ansible (push) Failing after 1m37s
Add backups to tang
2024-01-08 19:20:55 +00:00

140 lines
2.1 KiB
YAML

- hosts: all
roles:
- base
- role: realorangeone.reflector
when: ansible_os_family == 'Archlinux'
- role: paccache
when: ansible_os_family == 'Archlinux'
- hosts: casey
roles:
- nginx
- gateway
- nebula
- fail2ban_ssh
- hosts:
- pve
- casey
- ingress
- walker
- tang
roles:
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: "{{ timezone }}"
ntp_manage_config: true
- hosts:
- pve-docker
- forrest
- walker
- renovate
- gitea-runner
- pve-dokku
roles:
- role: geerlingguy.docker
become: true
vars:
docker_install_compose_plugin: "{{ ansible_os_family == 'Debian' }}"
docker_users:
- "{{ me.user }}"
- docker_cleanup
- hosts:
- pve-docker
- forrest
- walker
- pve-dokku
roles:
- db_auto_backup
- hosts:
- pve-docker
roles:
- traefik
- hosts: pve-docker
roles:
- pve_docker
- yourls
- pve_nebula_route
- privatebin
- vaultwarden
- tandoor
- mastodon
- gitea
- vikunja
- authentik
- minio
- ntfy
- hosts: ingress
roles:
- nginx
- ingress
- nebula
- hosts: pve
roles:
- role: ironicbadger.proxmox_nag_removal
become: true
- zfs
- pve_nebula_route
- role: ironicbadger.snapraid
become: true
- role: prometheus.prometheus.node_exporter
become: true
- hosts: forrest
roles:
- forrest
- pve_nebula_route
- hosts: qbittorrent
roles:
- nginx
- qbittorrent
- http_proxy
- hosts: walker
roles:
- role: geerlingguy.certbot
become: true
- nebula
- coredns_docker_proxy
- nginx
- plausible
- restic
- commento
- website
- remark42
- hosts: jellyfin
roles:
- jellyfin
- hosts: restic
roles:
- restic
- hosts: gitea-runner
roles:
- gitea_runner
- hosts: renovate
roles:
- renovate
- hosts: tang
roles:
- adguardhome
- role: prometheus.prometheus.node_exporter
become: true
- restic
- hosts: pve-dokku
roles:
- nginx
- dokku