Add fleming conf
This commit is contained in:
parent
044e8af3aa
commit
2be40222fc
4 changed files with 70 additions and 20 deletions
5
hosts
5
hosts
|
@ -25,16 +25,17 @@ serge.adm.auro.re
|
||||||
passbolt.adm.auro.re
|
passbolt.adm.auro.re
|
||||||
vpn-ovh.adm.auro.re
|
vpn-ovh.adm.auro.re
|
||||||
docker-ovh.adm.auro.re
|
docker-ovh.adm.auro.re
|
||||||
|
switchs-manager.adm.auro.re
|
||||||
|
|
||||||
[ovh_testing_vm]
|
[ovh_testing_vm]
|
||||||
re2o-test.adm.auro.re
|
re2o-test.adm.auro.re
|
||||||
|
|
||||||
[fleming_pve]
|
[fleming_pve]
|
||||||
#freya.adm.auro.re
|
freya.adm.auro.re
|
||||||
#odin.adm.auro.re
|
#odin.adm.auro.re
|
||||||
|
|
||||||
[fleming_vm]
|
[fleming_vm]
|
||||||
#ldap-replica-fleming1.adm.auro.re
|
ldap-replica-fleming1.adm.auro.re
|
||||||
#ldap-replica-fleming2.adm.auro.re
|
#ldap-replica-fleming2.adm.auro.re
|
||||||
|
|
||||||
[pacaterie_pve]
|
[pacaterie_pve]
|
||||||
|
|
|
@ -1,5 +1,17 @@
|
||||||
---
|
---
|
||||||
# Deploy Prometheus
|
# Deploy Prometheus
|
||||||
|
- hosts: prometheus-fleming.adm.auro.re
|
||||||
|
vars:
|
||||||
|
# Prometheus targets.json
|
||||||
|
prometheus_targets:
|
||||||
|
- labels: {job: node}
|
||||||
|
targets: "{{ groups['fleming'] | map('replace', '.re', '.re:9100') | list | sort }}"
|
||||||
|
- labels: {job: prometheus}
|
||||||
|
targets: ['localhost:9090']
|
||||||
|
roles:
|
||||||
|
- prometheus
|
||||||
|
- prometheus-alertmanager
|
||||||
|
|
||||||
- hosts: prometheus-pacaterie.adm.auro.re
|
- hosts: prometheus-pacaterie.adm.auro.re
|
||||||
vars:
|
vars:
|
||||||
# Prometheus targets.json
|
# Prometheus targets.json
|
||||||
|
@ -13,6 +25,6 @@
|
||||||
- prometheus-alertmanager
|
- prometheus-alertmanager
|
||||||
|
|
||||||
# Monitor all hosts
|
# Monitor all hosts
|
||||||
- hosts: pacaterie
|
- hosts: fleming,pacaterie
|
||||||
roles:
|
roles:
|
||||||
- prometheus-node
|
- prometheus-node
|
||||||
|
|
13
network.yml
13
network.yml
|
@ -32,3 +32,16 @@
|
||||||
- hosts: unifi-pacaterie.adm.auro.re
|
- hosts: unifi-pacaterie.adm.auro.re
|
||||||
roles:
|
roles:
|
||||||
- unifi-controller
|
- 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
|
||||||
|
|
58
proxmox.yml
58
proxmox.yml
|
@ -10,50 +10,74 @@
|
||||||
cores: 2 # 2 mimimum, 10 maximum
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
memory: 1024 # M
|
memory: 1024 # M
|
||||||
disksize: 16 # G
|
disksize: 16 # G
|
||||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
installiso: debian-10.0.0-amd64-netinst.iso
|
||||||
- name: dhcp-pacaterie
|
- name: dhcp-pacaterie
|
||||||
virtu: mordred
|
virtu: mordred
|
||||||
cores: 2 # 2 mimimum, 10 maximum
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
memory: 1024 # M
|
memory: 1024 # M
|
||||||
disksize: 16 # G
|
disksize: 16 # G
|
||||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
installiso: debian-10.0.0-amd64-netinst.iso
|
||||||
- name: dns-pacaterie
|
- name: dns-pacaterie
|
||||||
virtu: mordred
|
virtu: mordred
|
||||||
cores: 2 # 2 mimimum, 10 maximum
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
memory: 1024 # M
|
memory: 1024 # M
|
||||||
disksize: 16 # G
|
disksize: 16 # G
|
||||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
installiso: debian-10.0.0-amd64-netinst.iso
|
||||||
- name: prometheus-pacaterie
|
- name: prometheus-pacaterie
|
||||||
virtu: mordred
|
virtu: mordred
|
||||||
cores: 2 # 2 mimimum, 10 maximum
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
memory: 1024 # M
|
memory: 1024 # M
|
||||||
disksize: 16 # G
|
disksize: 16 # G
|
||||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
installiso: debian-10.0.0-amd64-netinst.iso
|
||||||
- name: radius-pacaterie
|
- name: radius-pacaterie
|
||||||
virtu: mordred
|
virtu: mordred
|
||||||
cores: 2 # 2 mimimum, 10 maximum
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
memory: 1024 # M
|
memory: 1024 # M
|
||||||
disksize: 16 # G
|
disksize: 16 # G
|
||||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
installiso: debian-10.0.0-amd64-netinst.iso
|
||||||
- name: unifi-pacaterie
|
- name: unifi-pacaterie
|
||||||
virtu: mordred
|
virtu: mordred
|
||||||
cores: 2 # 2 mimimum, 10 maximum
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
memory: 1024 # M
|
memory: 1024 # M
|
||||||
disksize: 16 # G
|
disksize: 16 # G
|
||||||
installiso: debian-9.9.0-amd64-netinst.iso
|
installiso: debian-9.9.0-amd64-netinst.iso
|
||||||
- name: passbolt
|
|
||||||
virtu: horus
|
|
||||||
cores: 2 # 2 mimimum, 10 maximum
|
|
||||||
memory: 512 # M
|
|
||||||
disksize: 8 # G
|
|
||||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
|
||||||
- name: vpn-ovh
|
|
||||||
virtu: horus
|
|
||||||
cores: 2 # 2 mimimum, 10 maximum
|
|
||||||
memory: 512 # M
|
|
||||||
disksize: 8 # G
|
|
||||||
installiso: debian-9.9.0-amd64-netinst.iso
|
|
||||||
|
|
||||||
|
- name: ldap-replica-fleming1
|
||||||
|
virtu: freya
|
||||||
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
|
memory: 1024 # M
|
||||||
|
disksize: 16 # G
|
||||||
|
installiso: debian-10.0.0-amd64-netinst.iso
|
||||||
|
- name: dhcp-fleming
|
||||||
|
virtu: freya
|
||||||
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
|
memory: 1024 # M
|
||||||
|
disksize: 16 # G
|
||||||
|
installiso: debian-10.0.0-amd64-netinst.iso
|
||||||
|
- name: dns-fleming
|
||||||
|
virtu: freya
|
||||||
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
|
memory: 1024 # M
|
||||||
|
disksize: 16 # G
|
||||||
|
installiso: debian-10.0.0-amd64-netinst.iso
|
||||||
|
- name: prometheus-fleming
|
||||||
|
virtu: freya
|
||||||
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
|
memory: 1024 # M
|
||||||
|
disksize: 16 # G
|
||||||
|
installiso: debian-10.0.0-amd64-netinst.iso
|
||||||
|
- name: radius-fleming
|
||||||
|
virtu: freya
|
||||||
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
|
memory: 1024 # M
|
||||||
|
disksize: 16 # G
|
||||||
|
installiso: debian-10.0.0-amd64-netinst.iso
|
||||||
|
- name: unifi-fleming
|
||||||
|
virtu: freya
|
||||||
|
cores: 2 # 2 mimimum, 10 maximum
|
||||||
|
memory: 1024 # M
|
||||||
|
disksize: 16 # G
|
||||||
|
installiso: debian-9.9.0-amd64-netinst.iso
|
||||||
|
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
- name: "password"
|
- name: "password"
|
||||||
|
|
Loading…
Reference in a new issue