hosts: remove dhcp and recursive_dns groups

Use patterns instead for now.
This commit is contained in:
Yohaï-Eliel BERREBY 2020-05-09 10:15:28 +02:00
parent 3f26e7d4b4
commit dea4dda285
3 changed files with 9 additions and 36 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env ansible-playbook
---
# Set up DHCP servers.
- hosts: dhcp-pacaterie*.adm.auro.re
- hosts: dhcp-*.adm.auro.re, !dhcp-aurore*.adm.auro.re,!dhcp-gs*.adm.auro.re
vars:
service_repo: https://gitlab.federez.net/re2o/dhcp.git
service_name: dhcp
@ -16,15 +16,15 @@
# Deploy unbound DNS server (recursive).
#- hosts: recursive_dns
# roles:
# - unbound
- hosts: dns-*.adm.auro.re,!dns-aurore*.adm.auro.re,!dns-gs*.adm.auro.re
roles:
- unbound
# Déploiement du service re2o aurore-firewall et keepalived
#- hosts: routeur-pacaterie.adm.auro.re
# roles:
# - router
- hosts: ~routeur-(pacaterie|edc).*\.adm\.auro\.re
roles:
- router
# WIP: Deploy authoritative DNS servers