diff --git a/roles/ipaclient/tasks/install.yml b/roles/ipaclient/tasks/install.yml index b079837d4c1ef0c8d2650537598a1640baea4476..8007b844318d114398f05029aba118c14eb5a5c9 100644 --- a/roles/ipaclient/tasks/install.yml +++ b/roles/ipaclient/tasks/install.yml @@ -136,7 +136,7 @@ msg: "The ca.crt file is missing, please enable allow_repair to fix this." when: not ipatest.ca_crt_exists - meta: end_play - when: not ipaclient_on_master | bool and not ipajoin.changed and not ipaclient_allow_repair | bool and (ipatest.krb5_keytab_ok or ipajoin.already_joined) + when: not ipaclient_on_master | bool and not ipajoin.changed and not ipaclient_allow_repair | bool and (ipatest.krb5_keytab_ok or (ipajoin.already_joined is defined and ipajoin.already_joined)) - name: Install - Configure IPA default.conf include_role: