mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 03:44:41 +00:00
CentOS 7 compatibility.
Lowered version check to be compatible with CentOS 7.5 Added missing attributes to setup_kra to be compatible with latest python2-ipaserver librarty on CentOS 7.5 (python2-ipaserver-4.5.4-10.el7.centos.3.noarch)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user