modified hosts and network playbook

This commit is contained in:
fpoutre 2019-09-01 21:53:51 +02:00
parent a03c775dbd
commit 203815c429
3 changed files with 50 additions and 40 deletions

82
hosts
View file

@ -6,63 +6,72 @@
# > Then we regroup everything in global geographic and type groups.
[ovh_pve]
horus.adm.auro.re
#horus.adm.auro.re
[ovh_container]
synapse.adm.auro.re
services-bdd.adm.auro.re
phabricator.adm.auro.re
wiki.adm.auro.re
www.adm.auro.re
proxy.adm.auro.re
matrix-services.adm.auro.re
#synapse.adm.auro.re
#services-bdd.adm.auro.re
#phabricator.adm.auro.re
#wiki.adm.auro.re
#www.adm.auro.re
#proxy.adm.auro.re
#matrix-services.adm.auro.re
[ovh_vm]
re2o-server.adm.auro.re
re2o-ldap.adm.auro.re
re2o-db.adm.auro.re
serge.adm.auro.re
passbolt.adm.auro.re
vpn-ovh.adm.auro.re
docker-ovh.adm.auro.re
switchs-manager.adm.auro.re
#re2o-server.adm.auro.re
#re2o-ldap.adm.auro.re
#re2o-db.adm.auro.re
#serge.adm.auro.re
#passbolt.adm.auro.re
#vpn-ovh.adm.auro.re
#docker-ovh.adm.auro.re
#switchs-manager.adm.auro.re
[ovh_testing_vm]
re2o-test.adm.auro.re
#re2o-test.adm.auro.re
[fleming_pve]
freya.adm.auro.re
#odin.adm.auro.re
#freya.adm.auro.re
[fleming_vm]
ldap-replica-fleming1.adm.auro.re
#ldap-replica-fleming1.adm.auro.re
#ldap-replica-fleming2.adm.auro.re
dhcp-fleming.adm.auro.re
dns-fleming.adm.auro.re
prometheus-fleming.adm.auro.re
radius-fleming.adm.auro.re
unifi-fleming.adm.auro.re
10.128.1.240
#dhcp-fleming.adm.auro.re
#dns-fleming.adm.auro.re
#prometheus-fleming.adm.auro.re
#radius-fleming.adm.auro.re
#unifi-fleming.adm.auro.re
#routeur-fleming.adm.auro.re
[pacaterie_pve]
mordred.adm.auro.re
#mordred.adm.auro.re
[pacaterie_vm]
ldap-replica-pacaterie.adm.auro.re
dhcp-pacaterie.adm.auro.re
dns-pacaterie.adm.auro.re
prometheus-pacaterie.adm.auro.re
radius-pacaterie.adm.auro.re
unifi-pacaterie.adm.auro.re
#ldap-replica-pacaterie.adm.auro.re
#dhcp-pacaterie.adm.auro.re
#dns-pacaterie.adm.auro.re
#prometheus-pacaterie.adm.auro.re
#radius-pacaterie.adm.auro.re
#unifi-pacaterie.adm.auro.re
#routeur-pacaterie.adm.auro.re
[edc_pve]
10.128.4.1
#chapalux.adm.auro.re
[edc_vm]
10.128.4.240
#routeur-edc.adm.auro.re
#dns-edc.adm.auro.re
#dhcp-edc.adm.auro.re
[georgesand_pve]
10.128.5.2
#perceval.adm.auro.re
[georgesand_vm]
#routeur-gs.adm.auro.re
#unifi-gs.adm.auro.re
#radius-gs.adm.auro.re
dns-gs.adm.auro.re
dhcp-gs.adm.auro.re
# everything at ovh
[ovh:children]
@ -92,6 +101,7 @@ edc_vm
# everything at georgesand
[georgesand:children]
georgesand_pve
georgesand_vm
# every LXC container
[container:children]

View file

@ -1,6 +1,6 @@
---
# Deploy DHCP
- hosts: dhcp-fleming.adm.auro.re,dhcp-pacaterie.adm.auro.re
- hosts: dhcp-fleming.adm.auro.re,dhcp-pacaterie.adm.auro.re,dhcp-gs.adm.auro.re
vars:
service_repo: https://gitlab.federez.net/re2o/dhcp.git
service_name: dhcp

View file

@ -145,14 +145,14 @@
memory: 1024 # M
disksize: 16 # G
installiso: debian-10.0.0-amd64-netinst.iso
- name: radius-fleming
virtu: freya
- name: radius-gs
virtu: perceval
cores: 2 # 2 mimimum, 10 maximum
memory: 1024 # M
disksize: 16 # G
installiso: debian-10.0.0-amd64-netinst.iso
- name: unifi-gs
virtu: freya
virtu: perceval
cores: 2 # 2 mimimum, 10 maximum
memory: 1024 # M
disksize: 16 # G