diff options
Diffstat (limited to 'ansible/deployment_poc/templates/libvirt-storage-template.xml.j2')
-rw-r--r-- | ansible/deployment_poc/templates/libvirt-storage-template.xml.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible/deployment_poc/templates/libvirt-storage-template.xml.j2 b/ansible/deployment_poc/templates/libvirt-storage-template.xml.j2 new file mode 100644 index 0000000..9ce3ff1 --- /dev/null +++ b/ansible/deployment_poc/templates/libvirt-storage-template.xml.j2 @@ -0,0 +1,16 @@ +<volume type='file'> + <name>{{ inventory_hostname }}_root_disk.qcow2</name> + <source> + </source> + <capacity unit='GB'>{{ disk }}</capacity> + <target> + <path>{{ storage.name }}</path> + <format type='qcow2'/> + <permissions> + <mode>0660</mode> + <owner>107</owner> + <group>107</group> + </permissions> + </target> +</volume> + |