64 lines
1.9 KiB
YAML
64 lines
1.9 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
|
|
- 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
|
|
|
|
|
|
vars_prompt:
|
|
- name: "password"
|
|
prompt: "Enter LDAP password for your user"
|
|
private: true
|
|
|
|
roles:
|
|
- proxmox-vm
|