infrastructure/ansible/main.yml

39 lines
720 B
YAML

- hosts: all
roles:
- common
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: Europe/London
- ssh
- hosts: casey
roles:
- gateway
- hosts:
- intersect
- grimes
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
- netdata
- traefik
- hosts: intersect
roles:
- intersect-docker
- hosts: grimes
roles:
- website
- statping
- socks-proxy