aboutsummaryrefslogtreecommitdiffstats
path: root/roles/gathio/vars
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-02-04 01:23:43 -0500
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-02-04 01:52:13 -0500
commit0261e875679f1bf63c8d689da7fc7e014597885d (patch)
tree3f19cd74a0c1070944f75437f30b098d6ef2ffcb /roles/gathio/vars
downloadselfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.tar.gz
selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.zip
initial commit
Diffstat (limited to 'roles/gathio/vars')
-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;