summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/ctdb.setup/tasks/centos8.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant/ansible/roles/ctdb.setup/tasks/centos8.yml')
-rw-r--r--vagrant/ansible/roles/ctdb.setup/tasks/centos8.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/vagrant/ansible/roles/ctdb.setup/tasks/centos8.yml b/vagrant/ansible/roles/ctdb.setup/tasks/centos8.yml
new file mode 100644
index 0000000..ebabc03
--- /dev/null
+++ b/vagrant/ansible/roles/ctdb.setup/tasks/centos8.yml
@@ -0,0 +1,13 @@
+- name: Add ctdb package
+ yum:
+ name: ctdb
+ state: present
+
+- name: Install python3-libsemanage. This is needed for the seboolean ansible command
+ yum: name=python3-libsemanage state=present
+
+- name: SELinux - Allow CTDB to access recovery lockfile from FUSE mount
+ seboolean:
+ name: use_fusefs_home_dirs
+ state: yes
+ persistent: yes