Combine keytabs together

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-12-20 05:13:49 +00:00
parent d9adca0c1b
commit a16153d7ad
2 changed files with 11 additions and 19 deletions

7
handlers/ipa.yml Normal file
View file

@ -0,0 +1,7 @@
########################
# Handlers for IPA stuff
#
# This is used to combine the IPA keytabs for local host and id.fp.o
- name: combine IPA http keytabs
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