2019-05-03 13:06:26 +02:00
|
|
|
---
|
|
|
|
# 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
|
|
|
|
|
|
|
|
vars_prompt:
|
2019-05-03 13:11:39 +02:00
|
|
|
- name: "password"
|
|
|
|
prompt: "Enter LDAP password for your user"
|
|
|
|
private: yes
|
2019-05-03 13:06:26 +02:00
|
|
|
|
|
|
|
roles:
|
|
|
|
- proxmox-vm
|