infrastructure/ansible/main.yml
Jake Howard e8496ddced
Deploy deluge in docker
Makes version managing so much easier!
2021-02-01 17:24:36 +00:00

76 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
- hosts: deluge
roles:
- deluge