infrastructure/ansible/main.yml

135 lines
2.1 KiB
YAML
Raw Normal View History

2019-12-08 15:55:19 +00:00
- hosts: all
2019-12-08 21:17:30 +00:00
roles:
2020-05-23 10:58:09 +01:00
- base
- role: realorangeone.reflector
when: ansible_os_family == 'Archlinux'
2022-11-14 09:04:53 +00:00
- role: paccache
when: ansible_os_family == 'Archlinux'
2019-12-08 15:55:19 +00:00
- hosts: casey
roles:
2019-12-08 16:47:28 +00:00
- gateway
2021-01-25 21:53:04 +00:00
- nebula
- fail2ban_ssh
2022-03-18 19:44:06 +00:00
- wireguard_53
- hosts:
- pve
- casey
- ingress
2021-04-24 21:19:04 +01:00
- walker
2021-06-20 12:01:20 +01:00
- grimes
roles:
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: "{{ timezone }}"
ntp_manage_config: true
2020-04-26 13:44:06 +01:00
- hosts:
2020-12-28 15:57:44 +00:00
- pve-docker
- forrest
2021-04-24 21:19:04 +01:00
- walker
2021-06-01 19:29:21 +01:00
- pve-gitlab-runner
2021-06-20 12:01:20 +01:00
- grimes
- renovate
roles:
2020-03-02 19:37:11 +00:00
- role: geerlingguy.docker
become: true
vars:
docker_install_compose: "{{ ansible_os_family == 'Debian' }}"
2020-04-26 13:44:06 +01:00
docker_package: "{{ 'docker-ce' if ansible_os_family == 'Debian' else 'docker' }}"
2020-03-02 19:37:11 +00:00
docker_users:
- "{{ user }}"
- docker_cleanup
- hosts:
- pve-docker
- forrest
- walker
- grimes
roles:
- db_auto_backup
- hosts:
- pve-docker
2021-04-24 21:19:04 +01:00
- walker
roles:
2020-04-23 21:51:01 +01:00
- traefik
2020-07-12 19:21:27 +01:00
- hosts: pve-docker
2020-04-26 13:44:06 +01:00
roles:
- pve_docker
2021-01-22 21:29:27 +00:00
- yourls
- pve_nebula_route
2021-02-12 23:32:31 +00:00
- privatebin
- vaultwarden
2022-08-24 22:17:29 +01:00
- tandoor
- authentik
2022-11-18 09:12:28 +00:00
- mastodon
2020-04-26 14:26:48 +01:00
- hosts: ingress
roles:
- role: chmduquesne.iptables_persistent
become: true
- role: nginxinc.nginx # The nginx in debian's repos is very old
become: true
- ingress
2021-01-30 20:46:49 +00:00
- nebula
2021-01-09 23:21:35 +00:00
- hosts: pve
roles:
2022-05-07 12:08:52 +01:00
- role: ironicbadger.proxmox_nag_removal
2021-01-09 23:21:35 +00:00
become: true
- zfs
- pve_nebula_route
- telegraf
2022-05-07 12:08:52 +01:00
- role: ironicbadger.snapraid
become: true
2021-01-31 16:52:24 +00:00
- hosts: forrest
roles:
- forrest
2021-03-04 16:08:53 +00:00
- pve_nebula_route
- hosts: qbittorrent
roles:
- qbittorrent
- http_proxy
2021-04-24 21:19:04 +01:00
- hosts: walker
roles:
- nebula
2021-04-24 22:14:29 +01:00
- upload
2021-05-02 16:07:25 +01:00
- plausible
2021-05-09 14:26:21 +01:00
- restic
2022-06-05 15:44:49 +01:00
- commento
2022-10-29 18:09:30 +01:00
- website
2021-05-02 12:04:48 +01:00
- hosts: jellyfin
roles:
- jellyfin
2021-05-08 14:23:21 +01:00
- hosts: restic
roles:
- restic
- hosts: pve-gitlab
roles:
- gitlab
2021-06-01 19:29:21 +01:00
- hosts: pve-gitlab-runner
roles:
- gitlab_runner
2021-06-20 12:01:20 +01:00
- hosts: grimes
roles:
- nebula
- role: dokku_bot.ansible_dokku
become: true
2021-08-30 21:50:55 +01:00
- restic
- hosts: renovate
roles:
- renovate