aboutsummaryrefslogtreecommitdiffstats
path: root/roles/ttrss/tasks
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-04-12 09:00:58 -0400
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-04-12 09:00:58 -0400
commit7e4cfba29e7a75a0bc8efa6d07a69eb98d641ce6 (patch)
tree77ea323657f8f42c127e8b893aae8710520ecee7 /roles/ttrss/tasks
parent680203a22ae30916b964ebaf2b3053716c5f6869 (diff)
downloadselfhosted-7e4cfba29e7a75a0bc8efa6d07a69eb98d641ce6.tar.gz
selfhosted-7e4cfba29e7a75a0bc8efa6d07a69eb98d641ce6.zip
ttrss: move selinux hack from apache to ttrss role
Diffstat (limited to 'roles/ttrss/tasks')
-rw-r--r--roles/ttrss/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/ttrss/tasks/main.yml b/roles/ttrss/tasks/main.yml
index 13cd9b0..787b9ba 100644
--- a/roles/ttrss/tasks/main.yml
+++ b/roles/ttrss/tasks/main.yml
@@ -15,6 +15,17 @@
version: '{{ ttrss_version }}'
update: yes
+- name: create SELinux policy for apache to allow kerberos auth
+ include_role:
+ name: selinux_policy
+ apply:
+ tags: selinux
+ vars:
+ selinux_policy_name: apache_php_gss
+ selinux_policy_te: '{{ ttrss_selinux_policy_te }}'
+ tags: selinux
+
+
- name: set httpd_sys_rw_content_t selinux context for writable directories
sefcontext:
target: '{{ ttrss_home }}/{{ item }}(/.*)?'