ansible/network.yml

48 lines
1.2 KiB
YAML
Raw Normal View History

2019-07-22 19:17:54 +02:00
---
# Deploy DHCP
2019-07-27 21:31:33 +02:00
- hosts: dhcp-fleming.adm.auro.re,dhcp-pacaterie.adm.auro.re
2019-07-22 19:17:54 +02:00
vars:
service_repo: https://gitlab.federez.net/re2o/dhcp.git
service_name: dhcp
service_version: master
service_config:
hostname: re2o-server.adm.auro.re
username: service-user
password: "{{ vault_serviceuser_passwd }}"
dhcp:
2019-12-02 20:33:29 +01:00
authoritative: yes
2019-07-22 19:17:54 +02:00
roles:
- re2o-service
- isc-dhcp-server
# Deploy DNS
- hosts: serge.adm.auro.re
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
# Deploy Unifi Controller
2019-07-27 21:31:33 +02:00
- hosts: unifi-fleming.adm.auro.re,unifi-pacaterie.adm.auro.re
2019-07-22 19:17:54 +02:00
roles:
- unifi-controller
2019-07-26 22:47:10 +02:00
# Deploy Re2o switch service
- 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