ipaclient/tasks/install.yml: Disable One-Time Password for on_master

if _on_master is set, deactivate _get_otp as OTP is not needed at all
for the client side install part on a master.
This commit is contained in:
Thomas Woerner
2019-05-31 17:21:26 +02:00
parent 5bdaa9aa6f
commit be04079fc7

View File

@@ -73,6 +73,11 @@
servers: "{{ result_ipaclient_test.servers }}"
domain: "{{ result_ipaclient_test.domain }}"
- name: Install - Disable One-Time Password for on_master
set_fact:
ipaclient_use_otp: "no"
when: ipaclient_use_otp | bool and ipaclient_on_master | bool
- name: Install - Test if IPA client has working krb5.keytab
ipaclient_test_keytab:
servers: "{{ result_ipaclient_test.servers }}"