From 08c6fe1bb3d72b01b5806f29a28d59b877b74412 Mon Sep 17 00:00:00 2001
From: dihmandrake <jasper.bernhardt@live.de>
Date: Thu, 5 Jul 2018 12:04:17 +0200
Subject: [PATCH] Lowered Version for Setup CA | Tested on CentOS 7.5

Signed-off-by: dihmandrake <jasper.bernhardt@live.de>
---
 roles/ipaserver/library/ipaserver_setup_ca.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/roles/ipaserver/library/ipaserver_setup_ca.py b/roles/ipaserver/library/ipaserver_setup_ca.py
index c1615471..ed1bd41f 100644
--- a/roles/ipaserver/library/ipaserver_setup_ca.py
+++ b/roles/ipaserver/library/ipaserver_setup_ca.py
@@ -188,7 +188,7 @@ def main():
     # setup CA ##############################################################
 
     with redirect_stdout(ansible_log):
-        if NUM_VERSION >= 40604:
+        if NUM_VERSION >= 40504:
             custodia = custodiainstance.get_custodia_instance(
                 options, custodiainstance.CustodiaModes.MASTER_PEER)
             custodia.create_instance()
@@ -200,7 +200,7 @@ def main():
                               if n in options.__dict__}
                 write_cache(cache_vars)
 
-            if NUM_VERSION >= 40604:
+            if NUM_VERSION >= 40504:
                 ca.install_step_0(False, None, options, custodia=custodia)
             else:
                 ca.install_step_0(False, None, options)
@@ -225,7 +225,7 @@ def main():
 
         if options.setup_ca:
             with redirect_stdout(ansible_log):
-                if NUM_VERSION >= 40604:
+                if NUM_VERSION >= 40504:
                     ca.install_step_1(False, None, options, custodia=custodia)
                 else:
                     ca.install_step_1(False, None, options)
-- 
GitLab