summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift/tasks/heketi_perms.yml
blob: 4df62607879daac47825ab59b12fe686eec6026a (plain)
1
2
3
4
5
6
7
8
9
---
- name: Mount heketidb volume
  mount: name="{{ heketi_template_path }}/heketidbstorage"  src="localhost:heketidbstorage" fstype="glusterfs" opts="defaults,_netdev" state="mounted"

- name: Allow writting to heketidb
  file: path="{{ heketi_template_path }}/heketidbstorage" owner="root" group="root" mode=0777

- name: Mount heketidb volume
  mount: name="{{ heketi_template_path }}/heketidbstorage"  state="absent"