infrastructure/ansible/main.yml
Jake Howard 07b0650618
Remove statping
It's buggy as all hell, super slow, and doesn't really get used for monitoring
2020-09-27 14:17:46 +01:00

54 lines
984 B
YAML

- hosts: all
roles:
- base
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: Europe/London
- role: realorangeone.reflector
when: ansible_os_family == 'Archlinux'
- hosts: casey
roles:
- gateway
- hosts:
- intersect
- walker
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
- watchtower
- traefik
# ZFS Hosts
- hosts:
- walker
- intersect
roles:
- zfs
- hosts: intersect
roles:
- netdata
- home_assistant
- intersect_docker
- plausible
- duplicati
- grafana
- gitlab
- scrutiny
- hosts: walker
roles:
- contessa
- upload
- website
- duplicati
- gitlab_pages