infrastructure/ansible/main.yml
Jake Howard c1dc26ce35
Install gitlab pages daemon
I'll deal with traefik domains later
2020-09-05 16:50:56 +01:00

55 lines
997 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
- grimes
- 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
- hosts: walker
roles:
- contessa
- statping
- upload
- website
- duplicati
- gitlab-pages