Make it a task
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
a16153d7ad
commit
ab40af84d1
2 changed files with 6 additions and 8 deletions
|
@ -1,7 +0,0 @@
|
||||||
########################
|
|
||||||
# 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
|
|
|
@ -52,7 +52,12 @@
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
- include: "{{ handlers }}/ipa.yml"
|
|
||||||
|
tasks:
|
||||||
|
- name: Combine IPA 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
|
||||||
|
tags:
|
||||||
|
- krb5
|
||||||
|
|
||||||
- name: do base role once more to revert any resolvconf changes
|
- name: do base role once more to revert any resolvconf changes
|
||||||
hosts: ipa:ipa-stg
|
hosts: ipa:ipa-stg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue