infrastructure/ansible/main.yml

61 lines
1.0 KiB
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-05-23 10:58:09 +01:00
- base
2020-03-02 19:45:16 +00:00
- role: geerlingguy.ntp
become: true
vars:
ntp_timezone: Europe/London
ntp_manage_config: true
- role: realorangeone.reflector
when: ansible_os_family == 'Archlinux'
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:
2020-07-12 19:21:27 +01:00
- walker
- grimes
2020-12-28 15:57:44 +00:00
- pve-docker
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
2020-04-23 21:51:01 +01:00
- traefik
2020-07-12 19:21:27 +01:00
2020-08-19 21:34:23 +01:00
# ZFS Hosts
- hosts:
- walker
roles:
- zfs
2020-12-05 12:33:50 +00:00
- hosts:
- grimes
roles:
- plausible
- duplicati
2020-12-05 12:33:50 +00:00
- hosts: pve-docker
2020-04-26 13:44:06 +01:00
roles:
- pve_docker
2020-08-07 11:52:15 +01:00
- grafana
2020-08-29 23:56:14 +01:00
- gitlab
2020-10-07 14:09:23 +01:00
- heimdall
2020-04-26 14:26:48 +01:00
- hosts: walker
roles:
- contessa
2020-07-24 17:14:39 +01:00
- upload
- duplicati
- gitlab_pages
- deluge
- hosts: ingress
roles:
- ingress