infrastructure/ansible/main.yml
Jake Howard e5e308fafa
Remove firewall role
firewalld does not play nice with docker!
2020-07-12 17:04:13 +01:00

40 lines
758 B
YAML

- hosts: all
roles:
- base
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: Europe/London
- 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
- traefik
- duplicati
- hosts: intersect
roles:
- netdata
- home-assistant
- intersect-docker
- hosts: grimes
roles:
- website
- statping
- socks-proxy
- upload