Skip to content

Commit ba02caa

Browse files
authored
Merge pull request #157 from stackhpc/fix/apache_pam
Fix SELinux errors when using PAM auth for OOD
2 parents 5ea0dd8 + 8a540ac commit ba02caa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ansible/roles/openondemand/tasks/pam_auth.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,11 @@
2121
mode: 0640
2222
group: apache
2323

24+
- name: Allow httpd access to PAM in SELinux
25+
ansible.posix.seboolean:
26+
name: httpd_mod_auth_pam
27+
state: yes
28+
persistent: yes
29+
when: ansible_facts.selinux.status == 'enabled'
30+
2431
# TODO: do we need to restart OOD here??

0 commit comments

Comments
 (0)