vmhost: PB to set up VM hosts

This commit is contained in:
2018-07-23 17:30:04 -05:00
parent f8ae016042
commit a8dd2e9ec3
3 changed files with 19 additions and 0 deletions

13
group_vars/vm-hosts.yml Normal file
View File

@@ -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