Skip to content
Snippets Groups Projects
Commit 50046a73 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipaclient: Fix test of newly supported ipaadmin_keytab use in ipaclient_join

The check for the ipaadmin_keytab was not using "is defined". Because of this
the playbook processing failed if the variable was not defined.
parent 79d0ac9d
No related branches found
No related tags found
No related merge requests found
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
ipaclient_keytab is not defined else omit }}" ipaclient_keytab is not defined else omit }}"
password: "{{ ipaadmin_password | default(omit) }}" password: "{{ ipaadmin_password | default(omit) }}"
keytab: "{{ ipaclient_keytab | default(omit) }}" keytab: "{{ ipaclient_keytab | default(omit) }}"
admin_keytab: "{{ ipaadmin_keytab if not ipaclient_use_otp | bool and ipaadmin_keytab else omit }}" admin_keytab: "{{ ipaadmin_keytab if ipaadmin_keytab is defined and not ipaclient_use_otp | bool else omit }}"
# ca_cert_file: "{{ ipaclient_ca_cert_file | default(omit) }}" # ca_cert_file: "{{ ipaclient_ca_cert_file | default(omit) }}"
kinit_attempts: "{{ ipaclient_kinit_attempts | default(omit) }}" kinit_attempts: "{{ ipaclient_kinit_attempts | default(omit) }}"
register: result_ipaclient_join register: result_ipaclient_join
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment