Noggin: better way to store the IPA CA cert, maybe?
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
7bae92a161
commit
9378371511
2 changed files with 5 additions and 2 deletions
|
@ -15,7 +15,10 @@
|
|||
slurp:
|
||||
src: /etc/ipa/ca.crt
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
register: ipa_ca_cert
|
||||
register: ipa_ca_cert_var
|
||||
- name: Register the IPA CA cert in a fact
|
||||
set_fact:
|
||||
ipa_ca_cert: {{ ipa_ca_cert_var.content }}
|
||||
|
||||
roles:
|
||||
# RabbitMQ is not redeployed in staging yet
|
||||
|
|
|
@ -44,4 +44,4 @@ items:
|
|||
default.conf: |-
|
||||
{{ load_file('ipa-default.conf') | indent(6) }}
|
||||
ca.crt: |-
|
||||
{{ ipa_ca_cert['content'] | indent(6) }}
|
||||
{{ ipa_ca_cert | indent(6) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue