infrastructure/ansible/main.yml
Jake Howard ac68b36841
Initially provision deluge machine
Based on Docker, so deluge itself is easier to install and keep updated. Until such time it's in the repos
2021-02-01 15:40:06 +00:00

72 lines
1.3 KiB
YAML

- hosts: all
roles:
- base
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: Europe/London
ntp_manage_config: true
when: ansible_os_family != 'Alpine' # https://github.com/ansible-collections/community.general/issues/781
- role: realorangeone.reflector
when: ansible_os_family == 'Archlinux'
- hosts: casey
roles:
- gateway
- nebula
- hosts:
- grimes
- pve-docker
- deluge
roles:
- role: geerlingguy.docker
become: true
vars:
docker_install_compose: false # This role installs the binary directly, which is kinda nasty
docker_package: "{{ 'docker-ce' if ansible_os_family == 'Debian' else 'docker' }}"
docker_users:
- "{{ user }}"
- docker_cleanup
- hosts:
- grimes
- pve-docker
roles:
- traefik
- hosts:
- grimes
roles:
- plausible
- duplicati
- pages
- upload
- nebula
- hosts: pve-docker
roles:
- pve_docker
- gitea
- duplicati
- yourls
- pve_nebula_route
- hosts: ingress
roles:
- role: chmduquesne.iptables_persistent
become: true
- ingress
- nebula
- hosts: pve
roles:
- role: proxmox-nag-removal
become: true
- pve
- zfs
- pve_nebula_route
- hosts: forrest
roles:
- forrest