2019-05-03 13:06:26 +02:00
|
|
|
---
|
|
|
|
# This is a special playbook to create a new VM !
|
2019-07-26 08:50:07 +02:00
|
|
|
- hosts: proxy.adm.auro.re # Host with python-proxmoxer and python-requests
|
2019-05-03 13:06:26 +02:00
|
|
|
become: false # We do not need root as we use Proxmox API
|
|
|
|
|
|
|
|
vars:
|
|
|
|
vm_definitions:
|
2019-07-27 21:31:33 +02:00
|
|
|
|
|
|
|
# Réseau Pacaterie
|
2019-05-03 13:06:26 +02:00
|
|
|
- name: ldap-replica-pacaterie
|
|
|
|
virtu: mordred
|
|
|
|
cores: 2 # 2 mimimum, 10 maximum
|
|
|
|
memory: 1024 # M
|
|
|
|
disksize: 16 # G
|
2019-07-26 22:47:10 +02:00
|
|
|
installiso: debian-10.0.0-amd64-netinst.iso
|
2019-05-03 13:06:26 +02:00
|
|
|
- name: dhcp-pacaterie
|
|
|
|
virtu: mordred
|
|
|
|
cores: 2 # 2 mimimum, 10 maximum
|
|
|
|
memory: 1024 # M
|
|
|
|
disksize: 16 # G
|
2019-07-26 22:47:10 +02:00
|
|
|
installiso: debian-10.0.0-amd64-netinst.iso
|
2019-05-03 13:06:26 +02:00
|
|
|
- name: dns-pacaterie
|
|
|
|
virtu: mordred
|
|
|
|
cores: 2 # 2 mimimum, 10 maximum
|
|
|
|
memory: 1024 # M
|
|
|
|
disksize: 16 # G
|
2019-07-26 22:47:10 +02:00
|
|
|
installiso: debian-10.0.0-amd64-netinst.iso
|
2019-05-03 13:06:26 +02:00
|
|
|
- name: prometheus-pacaterie
|
|
|
|
virtu: mordred
|
|
|
|
cores: 2 # 2 mimimum, 10 maximum
|
|
|
|
memory: 1024 # M
|
|
|
|
disksize: 16 # G
|
2019-07-26 22:47:10 +02:00
|
|
|
installiso: debian-10.0.0-amd64-netinst.iso
|
2019-05-04 18:43:58 +02:00
|
|
|
- name: radius-pacaterie
|
|
|
|
virtu: mordred
|
|
|
|
cores: 2 # 2 mimimum, 10 maximum
|
|
|
|
memory: 1024 # M
|
|
|
|
disksize: 16 # G
|
2019-07-26 22:47:10 +02:00
|
|
|
installiso: debian-10.0.0-amd64-netinst.iso
|
2019-05-07 18:51:22 +02:00
|
|
|
- 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
|
2019-07-26 22:47:10 +02:00
|
|
|
|
2019-07-27 21:31:33 +02:00
|
|
|
# Réseau Fleming
|
2019-07-26 22:47:10 +02:00
|
|
|
- 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
|
2019-05-23 07:00:27 +02:00
|
|
|
cores: 2 # 2 mimimum, 10 maximum
|
2019-07-26 22:47:10 +02:00
|
|
|
memory: 1024 # M
|
|
|
|
disksize: 16 # G
|
|
|
|
installiso: debian-10.0.0-amd64-netinst.iso
|
|
|
|
- name: radius-fleming
|
|
|
|
virtu: freya
|
2019-05-23 07:00:27 +02:00
|
|
|
cores: 2 # 2 mimimum, 10 maximum
|
2019-07-26 22:47:10 +02:00
|
|
|
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
|
2019-05-23 07:00:27 +02:00
|
|
|
installiso: debian-9.9.0-amd64-netinst.iso
|
|
|
|
|
2019-05-03 13:06:26 +02:00
|
|
|
vars_prompt:
|
2019-05-03 13:11:39 +02:00
|
|
|
- name: "password"
|
|
|
|
prompt: "Enter LDAP password for your user"
|
2019-05-03 22:50:48 +02:00
|
|
|
private: true
|
2019-05-03 13:06:26 +02:00
|
|
|
|
|
|
|
roles:
|
|
|
|
- proxmox-vm
|