dhcp: manage dhcp-aurore

This commit is contained in:
Yohaï-Eliel BERREBY 2020-09-11 15:05:57 +02:00
parent 26743b464d
commit 9b07fc9001
7 changed files with 101 additions and 19 deletions

View file

@ -1,17 +1,8 @@
#!/usr/bin/env ansible-playbook
---
# Set up DHCP servers.
- hosts: dhcp-*.adm.auro.re, !dhcp-aurore*.adm.auro.re
vars:
service_repo: https://gitlab.federez.net/re2o/dhcp.git
service_name: dhcp
service_version: master
service_config:
hostname: re2o.auro.re
username: service-user
password: "{{ vault_serviceuser_passwd }}"
- hosts: dhcp-*.adm.auro.re
roles:
- re2o-service
- isc-dhcp-server