From a6c8505938471e98eafa9ca795930319b7331068 Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Wed, 4 Oct 2017 17:39:37 +0200
Subject: [PATCH] roles/ipaclient/tasks/install.yml: New fail for missing
 ca.crt file

---
 roles/ipaclient/tasks/install.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/roles/ipaclient/tasks/install.yml b/roles/ipaclient/tasks/install.yml
index 9ce1cf4b..3c09cf7b 100644
--- a/roles/ipaclient/tasks/install.yml
+++ b/roles/ipaclient/tasks/install.yml
@@ -120,6 +120,9 @@
     - fail:
         msg: "The IPA test failed, please enable allow_repair to fix this."
       when: not ipatest.ipa_test_ok
+    - fail:
+        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 ipajoin.changed and not ipaclient_allow_repair | bool and (ipatest.krb5_keytab_ok or ipajoin.already_joined)
 
-- 
GitLab