2020-05-03 18:45:07 +02:00
|
|
|
#!/usr/bin/env ansible-playbook
|
2019-07-22 19:17:54 +02:00
|
|
|
---
|
2020-04-06 16:31:32 +02:00
|
|
|
# Set up DHCP servers.
|
|
|
|
- hosts: dhcp
|
2020-04-06 16:49:14 +02:00
|
|
|
vars:
|
|
|
|
service_repo: https://gitlab.federez.net/re2o/dhcp.git
|
|
|
|
service_name: dhcp
|
|
|
|
service_version: master
|
|
|
|
service_config:
|
2020-04-06 16:54:20 +02:00
|
|
|
hostname: re2o.auro.re
|
2020-04-06 16:49:14 +02:00
|
|
|
username: service-user
|
|
|
|
password: "{{ vault_serviceuser_passwd }}"
|
2020-04-06 16:31:32 +02:00
|
|
|
roles:
|
2020-04-06 16:49:14 +02:00
|
|
|
- re2o-service
|
2020-04-06 16:31:32 +02:00
|
|
|
- isc-dhcp-server
|
2019-07-22 19:17:54 +02:00
|
|
|
|
2020-04-13 16:35:09 +02:00
|
|
|
|
|
|
|
# Deploy unbound DNS server (recursive).
|
|
|
|
- hosts: recursive_dns
|
2019-07-22 19:17:54 +02:00
|
|
|
roles:
|
2020-04-13 16:35:09 +02:00
|
|
|
- unbound
|
|
|
|
|
2020-05-08 15:54:54 +02:00
|
|
|
|
|
|
|
# Déploiement du service re2o aurore-firewall et keepalived
|
|
|
|
- hosts: routeur-edc*.adm.auro.re
|
2020-05-07 19:24:02 +02:00
|
|
|
roles:
|
2020-05-08 15:54:54 +02:00
|
|
|
- router
|
2020-05-07 19:24:02 +02:00
|
|
|
|
2020-04-13 16:35:09 +02:00
|
|
|
|
|
|
|
# WIP: Deploy authoritative DNS servers
|
|
|
|
# - hosts: authoritative_dns
|
|
|
|
# vars:
|
|
|
|
# service_repo: https://gitlab.crans.org/nounous/re2o-dns.git
|
|
|
|
# service_name: dns
|
|
|
|
# service_version: crans
|
|
|
|
# service_config:
|
|
|
|
# hostname: re2o-server.adm.auro.re
|
|
|
|
# username: service-user
|
|
|
|
# password: "{{ vault_serviceuser_passwd }}"
|
|
|
|
# roles:
|
|
|
|
# - re2o-service
|
|
|
|
|
2019-07-22 19:17:54 +02:00
|
|
|
|
|
|
|
# Deploy Unifi Controller
|
2020-02-15 21:33:57 +01:00
|
|
|
#- hosts: unifi-fleming.adm.auro.re,unifi-pacaterie.adm.auro.re
|
|
|
|
# roles:
|
|
|
|
# - unifi-controller
|
2019-07-26 22:47:10 +02:00
|
|
|
|
|
|
|
# Deploy Re2o switch service
|
2020-02-15 21:33:57 +01:00
|
|
|
#- hosts: switchs-manager.adm.auro.re
|
|
|
|
# vars:
|
|
|
|
# service_repo: https://gitlab.federez.net/re2o/switchs.git
|
|
|
|
# service_name: switchs
|
|
|
|
# service_version: master
|
|
|
|
# service_config:
|
|
|
|
# hostname: re2o-server.adm.auro.re
|
|
|
|
# username: service-user
|
|
|
|
# password: "{{ vault_serviceuser_passwd }}"
|
|
|
|
# roles:
|
|
|
|
# - re2o-service
|