vmhost: PB to set up VM hosts
parent
f8ae016042
commit
a8dd2e9ec3
|
@ -0,0 +1,13 @@
|
|||
libvirt_networks:
|
||||
- name: prod
|
||||
type: bridge
|
||||
bridge_iface: br0
|
||||
- name: test
|
||||
type: bridge
|
||||
bridge_iface: br1
|
||||
storage_host: storage0.pyrocufflink.blue
|
||||
mount_shared_volumes:
|
||||
- mountpoint: /var/lib/libvirt/images
|
||||
host: '[{{ lookup("dig", storage_host, "qtype=AAAA") }}]'
|
||||
share: /volume1/VirtualMachines
|
||||
opts: vers=4,intr
|
2
hosts
2
hosts
|
@ -70,3 +70,5 @@ zbx0.pyrocufflink.blue
|
|||
[zabbix:children]
|
||||
dch-gw
|
||||
pyrocufflink
|
||||
|
||||
[vm-hosts]
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
- hosts: vm-hosts
|
||||
roles:
|
||||
- vmhost
|
||||
- dch-storage-net
|
Loading…
Reference in New Issue