51 lines
1.6 KiB
YAML
51 lines
1.6 KiB
YAML
---
|
|
# This is a special playbook to create a new VM !
|
|
- hosts: pad.adm.auro.re # Host with python-proxmoxer and python-requests
|
|
become: false # We do not need root as we use Proxmox API
|
|
|
|
vars:
|
|
vm_definitions:
|
|
- name: ldap-replica-pacaterie
|
|
virtu: mordred
|
|
cores: 2 # 2 mimimum, 10 maximum
|
|
memory: 1024 # M
|
|
disksize: 16 # G
|
|
installiso: debian-buster-DI-rc1-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
|
|
- 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
|
|
- 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
|
|
- 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
|
|
- 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
|
|
|
|
vars_prompt:
|
|
- name: "password"
|
|
prompt: "Enter LDAP password for your user"
|
|
private: true
|
|
|
|
roles:
|
|
- proxmox-vm
|