infrastructure/ansible/main.yml

33 lines
647 B
YAML
Raw Normal View History

2019-12-08 15:55:19 +00:00
- hosts: all
2019-12-08 21:17:30 +00:00
roles:
2020-04-23 21:38:16 +01:00
- common
2020-03-02 19:45:16 +00:00
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: Europe/London
2020-04-26 12:06:11 +01:00
- ssh
2019-12-08 15:55:19 +00:00
- hosts: casey
roles:
2019-12-08 16:47:28 +00:00
- gateway
2020-04-26 13:44:06 +01:00
- hosts:
- intersect
- grimes
roles:
2020-03-02 19:37:11 +00:00
- role: geerlingguy.docker
become: true
vars:
docker_install_compose: false # This role installs the binary directly, which is kinda nasty
2020-04-26 13:44:06 +01:00
docker_package: "{{ 'docker-ce' if ansible_os_family == 'Debian' else 'docker' }}"
2020-03-02 19:37:11 +00:00
docker_users:
- "{{ user }}"
- docker-cleanup
- watchtower
2020-04-23 21:32:18 +01:00
- netdata
2020-04-23 21:51:01 +01:00
- traefik
2020-04-26 13:44:06 +01:00
- hosts: intersect
2020-04-26 13:44:06 +01:00
roles:
- intersect-docker