mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-30 11:24:50 +00:00
roles/ipaclient/tasks/install.yml: Properly test ipaclient_keytab for join
This commit is contained in:
@@ -92,7 +92,7 @@
|
|||||||
basedn: "{{ ipadiscovery.basedn }}"
|
basedn: "{{ ipadiscovery.basedn }}"
|
||||||
hostname: "{{ ipadiscovery.hostname }}"
|
hostname: "{{ ipadiscovery.hostname }}"
|
||||||
force_join: "{{ ipaclient_force_join | default(omit) }}"
|
force_join: "{{ ipaclient_force_join | default(omit) }}"
|
||||||
principal: "{{ ipaclient_principal if not ipaclient_use_otp | bool and not ipaclient_keytab else '' }}"
|
principal: "{{ ipaclient_principal if not ipaclient_use_otp | bool and ipaclient_keytab is not defined and ipaclient_keytab != "" else '' }}"
|
||||||
password: "{{ ipaclient_password | default(omit) }}"
|
password: "{{ ipaclient_password | default(omit) }}"
|
||||||
keytab: "{{ ipaclient_keytab | default(omit) }}"
|
keytab: "{{ ipaclient_keytab | default(omit) }}"
|
||||||
#ca_cert_file: "{{ ipaclient_ca_cert_file | default(omit) }}"
|
#ca_cert_file: "{{ ipaclient_ca_cert_file | default(omit) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user