aboutsummaryrefslogtreecommitdiffstats
path: root/roles/gathio/vars/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/gathio/vars/main.yml')
-rw-r--r--roles/gathio/vars/main.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/roles/gathio/vars/main.yml b/roles/gathio/vars/main.yml
new file mode 100644
index 0000000..68f584b
--- /dev/null
+++ b/roles/gathio/vars/main.yml
@@ -0,0 +1,20 @@
+gathio_packages:
+ - mongodb-org
+ - nodejs
+ - git
+
+gathio_git_repo: https://github.com/lowercasename/gathio
+gathio_home: /var/lib/gathio
+gathio_install_dir: '{{ gathio_home }}/gathio'
+
+gathio_mongodb_selinux_policy_te: |
+ require {
+ type sysctl_fs_t;
+ type var_lib_nfs_t;
+ type mongod_t;
+ class dir search;
+ }
+
+ #============= mongod_t ==============
+ allow mongod_t sysctl_fs_t:dir search;
+ allow mongod_t var_lib_nfs_t:dir search;