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

ipaclient: Do not fail if ipaadmin_password is not used

This is for example the case if ipaadmin_keytab is used instead without
ipaclient_use_otp.
parent ac24f9c0
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@
- name: Install - Store the previously obtained OTP
no_log: yes
set_fact:
ipaadmin_orig_password: "{{ ipaadmin_password }}"
ipaadmin_orig_password: "{{ ipaadmin_password | default(omit) }}"
ipaadmin_password: "{{ result_ipaclient_get_otp.host.randompassword
if result_ipaclient_get_otp.host is defined }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment