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
|
||||
vpn-ovh.adm.auro.re
|
||||
docker-ovh.adm.auro.re
|
||||
switchs-manager.adm.auro.re
|
||||
|
||||
[ovh_testing_vm]
|
||||
re2o-test.adm.auro.re
|
||||
|
||||
[fleming_pve]
|
||||
#freya.adm.auro.re
|
||||
freya.adm.auro.re
|
||||
#odin.adm.auro.re
|
||||
|
||||
[fleming_vm]
|
||||
#ldap-replica-fleming1.adm.auro.re
|
||||
ldap-replica-fleming1.adm.auro.re
|
||||
#ldap-replica-fleming2.adm.auro.re
|
||||
|
||||
[pacaterie_pve]
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
---
|
||||
# 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
|
||||
vars:
|
||||
# Prometheus targets.json
|
||||
|
@ -13,6 +25,6 @@
|
|||
- prometheus-alertmanager
|
||||
|
||||
# Monitor all hosts
|
||||
- hosts: pacaterie
|
||||
- hosts: fleming,pacaterie
|
||||
roles:
|
||||
- prometheus-node
|
||||
|
|
13
network.yml
13
network.yml
|
@ -32,3 +32,16 @@
|
|||
- hosts: 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
|
||||
|
|
58
proxmox.yml
58
proxmox.yml
|
@ -10,50 +10,74 @@
|
|||
cores: 2 # 2 mimimum, 10 maximum
|
||||
memory: 1024 # M
|
||||
disksize: 16 # G
|
||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
||||
installiso: debian-10.0.0-amd64-netinst.iso
|
||||
- name: dhcp-pacaterie
|
||||
virtu: mordred
|
||||
cores: 2 # 2 mimimum, 10 maximum
|
||||
memory: 1024 # M
|
||||
disksize: 16 # G
|
||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
||||
installiso: debian-10.0.0-amd64-netinst.iso
|
||||
- name: dns-pacaterie
|
||||
virtu: mordred
|
||||
cores: 2 # 2 mimimum, 10 maximum
|
||||
memory: 1024 # M
|
||||
disksize: 16 # G
|
||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
||||
installiso: debian-10.0.0-amd64-netinst.iso
|
||||
- name: prometheus-pacaterie
|
||||
virtu: mordred
|
||||
cores: 2 # 2 mimimum, 10 maximum
|
||||
memory: 1024 # M
|
||||
disksize: 16 # G
|
||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
||||
installiso: debian-10.0.0-amd64-netinst.iso
|
||||
- name: radius-pacaterie
|
||||
virtu: mordred
|
||||
cores: 2 # 2 mimimum, 10 maximum
|
||||
memory: 1024 # M
|
||||
disksize: 16 # G
|
||||
installiso: debian-buster-DI-rc1-amd64-netinst.iso
|
||||
installiso: debian-10.0.0-amd64-netinst.iso
|
||||
- name: unifi-pacaterie
|
||||
virtu: mordred
|
||||
cores: 2 # 2 mimimum, 10 maximum
|
||||
memory: 1024 # M
|
||||
disksize: 16 # G
|
||||
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:
|
||||
- name: "password"
|
||||
|
|
Loading…
Reference in a new issue