From e86cb23660f81c4ab6f268a037523b3a495cb26e Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 22 Jul 2019 19:17:54 +0200 Subject: [PATCH] network playbook --- network.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 network.yml diff --git a/network.yml b/network.yml new file mode 100644 index 0000000..c4b967f --- /dev/null +++ b/network.yml @@ -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