summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/tasks/configure_libvirt_storage_pool.yml
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-08-29 08:06:20 -0400
committerGitHub <noreply@github.com>2017-08-29 08:06:20 -0400
commitab7b515d8ed8576b23147e64e4da73e6dea41df7 (patch)
tree01517c01840882c637a4fabf62512830fb6888c3 /playbooks/libvirt/openshift-cluster/tasks/configure_libvirt_storage_pool.yml
parent60d544846d049b85539e7b2ea91a7aee00eb15a0 (diff)
parent7da3f730a2e2525190dc2c42661275f62891650c (diff)
downloadopenshift-ab7b515d8ed8576b23147e64e4da73e6dea41df7.tar.gz
openshift-ab7b515d8ed8576b23147e64e4da73e6dea41df7.tar.bz2
openshift-ab7b515d8ed8576b23147e64e4da73e6dea41df7.tar.xz
openshift-ab7b515d8ed8576b23147e64e4da73e6dea41df7.zip
Merge pull request #5201 from mtnbikenc/remove-unsupported
Remove unsupported playbooks and utilities
Diffstat (limited to 'playbooks/libvirt/openshift-cluster/tasks/configure_libvirt_storage_pool.yml')
-rw-r--r--playbooks/libvirt/openshift-cluster/tasks/configure_libvirt_storage_pool.yml30
1 files changed, 0 insertions, 30 deletions
diff --git a/playbooks/libvirt/openshift-cluster/tasks/configure_libvirt_storage_pool.yml b/playbooks/libvirt/openshift-cluster/tasks/configure_libvirt_storage_pool.yml
deleted file mode 100644
index 8685624ec..000000000
--- a/playbooks/libvirt/openshift-cluster/tasks/configure_libvirt_storage_pool.yml
+++ /dev/null
@@ -1,30 +0,0 @@
----
-- name: Create libvirt storage directory for openshift
- file:
- dest: "{{ libvirt_storage_pool_path }}"
- state: directory
-
-# We need to set permissions on the directory and any items created under the directory, so we need to call the acl module with and without default set.
-- acl:
- default: '{{ item.default }}'
- entity: kvm
- etype: group
- name: "{{ libvirt_storage_pool_path }}"
- permissions: '{{ item.permissions }}'
- state: present
- with_items:
- - default: no
- permissions: x
- - default: yes
- permissions: rwx
-
-- name: Create the libvirt storage pool for OpenShift
- virt_pool:
- name: '{{ libvirt_storage_pool }}'
- state: '{{ item }}'
- autostart: 'yes'
- xml: "{{ lookup('template', 'storage-pool.xml') }}"
- uri: '{{ libvirt_uri }}'
- with_items:
- - present
- - active