mod_auth_gssapi: Initial version of role
This commit is contained in:
parent
878de962f6
commit
f1a4424067
2 changed files with 17 additions and 0 deletions
4
roles/mod_auth_gssapi/meta/main.yml
Normal file
4
roles/mod_auth_gssapi/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
dependencies:
|
||||
- {role: apache}
|
||||
- {role: kerberos/client}
|
13
roles/mod_auth_gssapi/tasks/main.yml
Normal file
13
roles/mod_auth_gssapi/tasks/main.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- name: install packages
|
||||
package:
|
||||
name: mod_auth_gssapi
|
||||
state: installed
|
||||
notify: restart apache
|
||||
|
||||
- name: set keytab path
|
||||
lineinfile:
|
||||
path: /etc/sysconfig/httpd
|
||||
regexp: "^KRB5_KTNAME=.*"
|
||||
line: KRB5_KTNAME=/etc/httpd/httpd.keytab
|
||||
notify: restart apache
|
Loading…
Add table
Reference in a new issue