diff options
author | Georg | 2022-01-05 23:59:13 +0100 |
---|---|---|
committer | Georg | 2022-01-05 23:59:13 +0100 |
commit | 7bb88aaa661dc6756e862562c47368de11657f44 (patch) | |
tree | 545d6f1d86c1d42ed04d558450996c54fdca631d /ansible/deployment_poc/templates/libvirt-storage-template.xml.j2 | |
parent | 0e53f4d766e95205b20951fd252f6118ce05352b (diff) | |
download | system-7bb88aaa661dc6756e862562c47368de11657f44.tar.gz system-7bb88aaa661dc6756e862562c47368de11657f44.tar.bz2 system-7bb88aaa661dc6756e862562c47368de11657f44.zip |
Init Ansible NetBox DHCP POC deployment
Signed-off-by: Georg <georg@lysergic.dev>
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> + |