|
@@ -1534,6 +1534,10 @@ class CAServerCert(OpenShiftCLI):
|
|
|
def run_ansible(params, check_mode):
|
|
|
'''run the idempotent ansible code'''
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ params['hostnames'] = [host for host in params['hostnames'] if isinstance(host, string_types)]
|
|
|
+
|
|
|
config = CAServerCertConfig(params['kubeconfig'],
|
|
|
params['debug'],
|
|
|
{'cert': {'value': params['cert'], 'include': True},
|
|
@@ -1583,6 +1587,10 @@ class CAServerCert(OpenShiftCLI):
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+from ansible.module_utils.six import string_types
|
|
|
+
|
|
|
def main():
|
|
|
'''
|
|
|
ansible oc adm module for ca create-server-cert
|