add gs dhcp, dns, routing

and add thor to inventory
This commit is contained in:
Yohaï-Eliel BERREBY 2020-07-06 18:40:54 +02:00
parent a6b15c0e10
commit 337906c6c0
6 changed files with 31 additions and 10 deletions

View file

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