infrastructure/ansible/main.yml

91 lines
1.5 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'
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
- hosts:
- pve
- casey
- grimes
- ingress
- deluge
roles:
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: "{{ TZ }}"
ntp_manage_config: true
when: ansible_os_family != 'Alpine' # https://github.com/ansible-collections/community.general/issues/781
2020-04-26 13:44:06 +01:00
- hosts:
- grimes
2020-12-28 15:57:44 +00:00
- pve-docker
- deluge
- forrest
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:
- grimes
- pve-docker
roles:
2020-04-23 21:51:01 +01:00
- traefik
2020-07-12 19:21:27 +01:00
2020-12-05 12:33:50 +00:00
- hosts:
- grimes
roles:
- plausible
- duplicati
- pages
2021-01-28 14:04:55 +00:00
- upload
2021-01-30 20:46:49 +00:00
- nebula
2020-12-05 12:33:50 +00:00
- hosts: pve-docker
2020-04-26 13:44:06 +01:00
roles:
- pve_docker
- gitea
- duplicati
2021-01-22 21:29:27 +00:00
- yourls
- pve_nebula_route
2021-02-12 23:32:31 +00:00
- privatebin
2021-03-21 18:47:20 +00:00
- bitwarden_rs
2020-04-26 14:26:48 +01:00
- hosts: ingress
roles:
- role: chmduquesne.iptables_persistent
become: true
- ingress
2021-01-30 20:46:49 +00:00
- nebula
2021-01-09 23:21:35 +00:00
- hosts: pve
roles:
- role: proxmox-nag-removal
become: true
- pve
- zfs
- pve_nebula_route
- telegraf
2021-01-31 16:52:24 +00:00
- hosts: forrest
roles:
- forrest
2021-03-04 16:08:53 +00:00
- pve_nebula_route
- hosts: deluge
roles:
- deluge