diff --git a/roles/ipaclient/tasks/install.yml b/roles/ipaclient/tasks/install.yml index 297102d109639ef2cd00f4a2e8eaa06082e97ae6..adf32398b45df3661decfd51dd36b3f32f9ed674 100644 --- a/roles/ipaclient/tasks/install.yml +++ b/roles/ipaclient/tasks/install.yml @@ -45,7 +45,7 @@ - name: Install - Disable One-Time Password for client with working krb5.keytab set_fact: ipaclient_use_otp: "no" - when: ipaclient_use_otp | bool and ipatest.krb5_keytab_ok + when: ipaclient_use_otp | bool and ipatest.krb5_keytab_ok and not ipaclient_force_join | bool # The following block is executed when using OTP to enroll IPA client