Merge pull request #302 from t-woerner/caless_server_fix

ipaserver/library/ipaserver_setup_ca.py: Fix bug introduced with ca-less PR
This commit is contained in:
Varun Mylaraiah
2020-06-15 14:18:19 +05:30
committed by GitHub

View File

@@ -265,7 +265,7 @@ def main():
# additional
options.domainlevel = ansible_module.params.get('domainlevel')
options._http_ca_cert = ansible_module.params.get('_http_ca_cert')
if options._http_ca_cert is not None:
if options._http_ca_cert:
options._http_ca_cert = decode_certificate(options._http_ca_cert)
# init #################################################################