mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 02:46:20 +08:00
Make IPA use the combined keytab
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -58,6 +58,14 @@
|
||||
shell: printf "%b" "read_kt /etc/httpd/conf/ipa.keytab\nread_kt /etc/krb5.HTTP_id{{env_suffix}}.fedoraproject.org.keytab\nwrite_kt /etc/krb5.HTTP_id{{env_suffix}}.fedoraproject.org.keytab.combined" | ktutil
|
||||
tags:
|
||||
- krb5
|
||||
- ipa/server
|
||||
- name: Make IPA HTTP use the combined keytab
|
||||
lineinfile: dest=/etc/httpd/conf.d/ipa.conf
|
||||
regexp='GssapiCredStore keytab:'
|
||||
line=' GssapiCredStore keytab:/etc/krb5.HTTP_id{{env_suffix}}.fedoraproject.org.keytab.combined'
|
||||
tags:
|
||||
- krb5
|
||||
- ipa/server
|
||||
|
||||
- name: do base role once more to revert any resolvconf changes
|
||||
hosts: ipa:ipa-stg
|
||||
|
||||
Reference in New Issue
Block a user