summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/templates
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-08-22 16:42:10 -0400
committerGitHub <noreply@github.com>2016-08-22 16:42:10 -0400
commit39d87c8ff79caddd9ff56d19846a9d8ecf5164e0 (patch)
tree5a615d9ea66d7432ede4f87b97d0e912e86ba275 /playbooks/libvirt/openshift-cluster/templates
parenteb3df4cc0431a3f65f47a2ed0fd9427a6126907b (diff)
parentd3faaccc614c694b539e6fb8c02327da4f9b296b (diff)
downloadopenshift-39d87c8ff79caddd9ff56d19846a9d8ecf5164e0.tar.gz
openshift-39d87c8ff79caddd9ff56d19846a9d8ecf5164e0.tar.bz2
openshift-39d87c8ff79caddd9ff56d19846a9d8ecf5164e0.tar.xz
openshift-39d87c8ff79caddd9ff56d19846a9d8ecf5164e0.zip
Merge pull request #2340 from lhuard1A/ansible_virt_module
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>