mod_auth_gssapi: Set keytab path in environment variables
This commit is contained in:
parent
40e4157349
commit
5eda17494d
2 changed files with 10 additions and 5 deletions
|
@ -1,3 +0,0 @@
|
||||||
<Location />
|
|
||||||
GssapiCredStore keytab:/etc/httpd/httpd.keytab
|
|
||||||
</Location>
|
|
|
@ -5,10 +5,18 @@
|
||||||
state: installed
|
state: installed
|
||||||
notify: restart apache
|
notify: restart apache
|
||||||
|
|
||||||
|
- name: create httpd service drop-in directory
|
||||||
|
file:
|
||||||
|
path: /etc/systemd/system/httpd.service.d
|
||||||
|
state: directory
|
||||||
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
|
|
||||||
- name: set keytab path
|
- name: set keytab path
|
||||||
copy:
|
copy:
|
||||||
dest: /etc/httpd/conf.local.d/00-gssapi.conf
|
dest: /etc/systemd/system/httpd.service.d/keytab.conf
|
||||||
src: gssapi.conf
|
content: "[Service]\nEnvironment=KRB5_KTNAME=/etc/httpd/httpd.keytab\n"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ ansible_wheel }}"
|
group: "{{ ansible_wheel }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue