network playbook

This commit is contained in:
Alexandre Iooss 2019-07-22 19:17:54 +02:00
parent 4a3851acc8
commit e86cb23660
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02

34
network.yml Normal file
View file

@ -0,0 +1,34 @@
---
# Deploy DHCP
- hosts: dhcp-pacaterie.adm.auro.re
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:
authoritative: true
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
- hosts: unifi-pacaterie.adm.auro.re
roles:
- unifi-controller