added aurore's hosts

pull/1/head
fpoutre 4 years ago
parent 203815c429
commit d9f2d06c44

@ -33,3 +33,4 @@ become_ask_pass = True
# TO know what changed
always = yes
scp_if_ssh = True

51
hosts

@ -5,6 +5,12 @@
# > So all containers at OVH are in ovh-container.
# > Then we regroup everything in global geographic and type groups.
[aurore_pve]
merlin.adm.auro.re
[aurore_vm]
#radius-aurore.adm.auro.re
[ovh_pve]
#horus.adm.auro.re
@ -26,6 +32,7 @@
#vpn-ovh.adm.auro.re
#docker-ovh.adm.auro.re
#switchs-manager.adm.auro.re
#radius-aurore.adm.auro.re
[ovh_testing_vm]
#re2o-test.adm.auro.re
@ -37,11 +44,15 @@
#ldap-replica-fleming1.adm.auro.re
#ldap-replica-fleming2.adm.auro.re
#dhcp-fleming.adm.auro.re
#dhcp-fleming-backup.adm.auro.re
#dns-fleming.adm.auro.re
#dns-fleming-backup.adm.auro.re
#prometheus-fleming.adm.auro.re
#radius-fleming.adm.auro.re
#radius-fleming-backup.adm.auro.re
#unifi-fleming.adm.auro.re
#routeur-fleming.adm.auro.re
#routeur-fleming-backup.adm.auro.re
[pacaterie_pve]
#mordred.adm.auro.re
@ -49,11 +60,15 @@
[pacaterie_vm]
#ldap-replica-pacaterie.adm.auro.re
#dhcp-pacaterie.adm.auro.re
#dhcp-pacaterie-backup.adm.auro.re
#dns-pacaterie.adm.auro.re
#dns-pacaterie-backup.adm.auro.re
#prometheus-pacaterie.adm.auro.re
#radius-pacaterie.adm.auro.re
#radius-pacaterie-backup.adm.auro.re
#unifi-pacaterie.adm.auro.re
#routeur-pacaterie.adm.auro.re
#routeur-pacaterie-backup.adm.auro.re
[edc_pve]
#chapalux.adm.auro.re
@ -62,16 +77,19 @@
#routeur-edc.adm.auro.re
#dns-edc.adm.auro.re
#dhcp-edc.adm.auro.re
#unifi-edc.adm.auro.re
#radius-edc.adm.auro.re
#routeur-aurore.adm.auro.re
[georgesand_pve]
[gs_pve]
#perceval.adm.auro.re
[georgesand_vm]
[gs_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
#dns-gs.adm.auro.re
#dhcp-gs.adm.auro.re
# everything at ovh
[ovh:children]
@ -99,9 +117,9 @@ edc_pve
edc_vm
# everything at georgesand
[georgesand:children]
georgesand_pve
georgesand_vm
[gs:children]
gs_pve
gs_vm
# every LXC container
[container:children]
@ -112,6 +130,7 @@ ovh_container
ovh_vm
fleming_vm
pacaterie_vm
gs_vm
# every PVE
[pve:children]
@ -119,4 +138,20 @@ ovh_pve
fleming_pve
pacaterie_pve
edc_pve
georgesand_pve
gs_pve
[dhcp]
#dhcp-fleming.adm.auro.re
#dhcp-fleming-backup.adm.auro.re
#dhcp-pacaterie.adm.auro.re
#dhcp-pacaterie-backup.adm.auro.re
#dhcp-edc.adm.auro.re
#dhcp-gs.adm.auro.re
[dns]
#dns-fleming.adm.auro.re
#dns-fleming-backup.adm.auro.re
#dns-pacaterie.adm.auro.re
#dns-pacaterie-backup.adm.auro.re
#dns-edc.adm.auro.re
#dns-gs.adm.auro.re

@ -0,0 +1,131 @@
# Aurore servers inventory
# How to name your server ?
# > We name servers according to location, then type.
# > So all containers at OVH are in ovh-container.
# > Then we regroup everything in global geographic and type groups.
[ovh_pve]
#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
[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
#radius-aurore.adm.auro.re
[ovh_testing_vm]
#re2o-test.adm.auro.re
[fleming_pve]
#freya.adm.auro.re
[fleming_vm]
#ldap-replica-fleming1.adm.auro.re
#ldap-replica-fleming2.adm.auro.re
#dhcp-fleming.adm.auro.re
#dhcp-fleming-backup.adm.auro.re
#dns-fleming.adm.auro.re
#dns-fleming-backup.adm.auro.re
#radius-fleming.adm.auro.re
#radius-fleming-backup.adm.auro.re
#routeur-fleming.adm.auro.re
#routeur-fleming-backup.adm.auro.re
#unifi-fleming.adm.auro.re
#prometheus
[pacaterie_pve]
#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
#routeur-pacaterie.adm.auro.re
[edc_pve]
#chapalux.adm.auro.re
[edc_vm]
#routeur-edc.adm.auro.re
#dns-edc.adm.auro.re
#dhcp-edc.adm.auro.re
#unifi-edc.adm.auro.re
#radius-edc.adm.auro.re
#routeur-aurore.adm.auro.re
#10.128.0.254
[georgesand_pve]
#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]
ovh_pve
ovh_container
ovh_vm
# everything at ovh_testing
[ovh_testing:children]
ovh_testing_vm
# everything at fleming
[fleming:children]
fleming_pve
fleming_vm
# everything at pacaterie
[pacaterie:children]
pacaterie_pve
pacaterie_vm
# everything at edc
[edc:children]
edc_pve
edc_vm
# everything at georgesand
[georgesand:children]
georgesand_pve
georgesand_vm
# every LXC container
[container:children]
ovh_container
# every virtual machine
[vm:children]
ovh_vm
fleming_vm
pacaterie_vm
# every PVE
[pve:children]
ovh_pve
fleming_pve
pacaterie_pve
edc_pve
georgesand_pve

@ -1,6 +1,6 @@
---
# Deploy DHCP
- hosts: dhcp-fleming.adm.auro.re,dhcp-pacaterie.adm.auro.re,dhcp-gs.adm.auro.re
- hosts: dhcp
vars:
service_repo: https://gitlab.federez.net/re2o/dhcp.git
service_name: dhcp
@ -16,7 +16,7 @@
- isc-dhcp-server
# Deploy DNS
- hosts: serge.adm.auro.re
- hosts: dns
vars:
service_repo: https://gitlab.crans.org/nounous/re2o-dns.git
service_name: dns
@ -29,19 +29,19 @@
- re2o-service
# Deploy Unifi Controller
- hosts: unifi-fleming.adm.auro.re,unifi-pacaterie.adm.auro.re
roles:
- unifi-controller
#- hosts: unifi-fleming.adm.auro.re,unifi-pacaterie.adm.auro.re
# roles:
# - unifi-controller
# Deploy Re2o switch service
- hosts: switchs-manager.adm.auro.re
vars:
service_repo: https://gitlab.federez.net/re2o/switchs.git
service_name: switchs
service_version: master
service_config:
hostname: re2o-server.adm.auro.re
username: service-user
password: "{{ vault_serviceuser_passwd }}"
roles:
- re2o-service
#- hosts: switchs-manager.adm.auro.re
# vars:
# service_repo: https://gitlab.federez.net/re2o/switchs.git
# service_name: switchs
# service_version: master
# service_config:
# hostname: re2o-server.adm.auro.re
# username: service-user
# password: "{{ vault_serviceuser_passwd }}"
# roles:
# - re2o-service

Loading…
Cancel
Save