ansible/proxmox.yml

46 lines
1.4 KiB
YAML
Raw Normal View History

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
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
installiso: debian-buster-DI-rc1-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