summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/templates
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2016-08-22 17:53:20 +0200
committerLénaïc Huard <lhuard@amadeus.com>2016-08-22 22:20:35 +0200
commitd3faaccc614c694b539e6fb8c02327da4f9b296b (patch)
tree72a2ed8bbbf7308ce2894b8a3d65cf63bb3330ad /playbooks/libvirt/openshift-cluster/templates
parent4a48123bf6889279cbbd6f6aeb8317fd0cf1b827 (diff)
downloadopenshift-d3faaccc614c694b539e6fb8c02327da4f9b296b.tar.gz
openshift-d3faaccc614c694b539e6fb8c02327da4f9b296b.tar.bz2
openshift-d3faaccc614c694b539e6fb8c02327da4f9b296b.tar.xz
openshift-d3faaccc614c694b539e6fb8c02327da4f9b296b.zip
Replace some virsh commands by native virt_XXX ansible module
Diffstat (limited to 'playbooks/libvirt/openshift-cluster/templates')
-rw-r--r--playbooks/libvirt/openshift-cluster/templates/network.xml2
-rw-r--r--playbooks/libvirt/openshift-cluster/templates/storage-pool.xml6
2 files changed, 7 insertions, 1 deletions
diff --git a/playbooks/libvirt/openshift-cluster/templates/network.xml b/playbooks/libvirt/openshift-cluster/templates/network.xml
index 050bc7ab9..0ce2a8342 100644
--- a/playbooks/libvirt/openshift-cluster/templates/network.xml
+++ b/playbooks/libvirt/openshift-cluster/templates/network.xml
@@ -1,5 +1,5 @@
<network>
- <name>openshift-ansible</name>
+ <name>{{ libvirt_network }}</name>
<forward mode='nat'>
<nat>
<port start='1024' end='65535'/>
diff --git a/playbooks/libvirt/openshift-cluster/templates/storage-pool.xml b/playbooks/libvirt/openshift-cluster/templates/storage-pool.xml
new file mode 100644
index 000000000..da139afd0
--- /dev/null
+++ b/playbooks/libvirt/openshift-cluster/templates/storage-pool.xml
@@ -0,0 +1,6 @@
+<pool type='dir'>
+ <name>{{ libvirt_storage_pool }}</name>
+ <target>
+ <path>{{ libvirt_storage_pool_path }}</path>
+ </target>
+</pool>