diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-02-22 11:19:51 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-02-22 11:19:51 -0500 |
commit | 9c49ba4bb0b69604e98fc3dda65f8ccd40f19552 (patch) | |
tree | f2864f01b3c63cf2513f497bb7459f13a439881b /roles/lib_openshift | |
parent | 3effaa96c8e843a5820b98cf9c2dab608481c259 (diff) | |
download | openshift-9c49ba4bb0b69604e98fc3dda65f8ccd40f19552.tar.gz openshift-9c49ba4bb0b69604e98fc3dda65f8ccd40f19552.tar.bz2 openshift-9c49ba4bb0b69604e98fc3dda65f8ccd40f19552.tar.xz openshift-9c49ba4bb0b69604e98fc3dda65f8ccd40f19552.zip |
Removing reference to oadm. Moved parameter under general params.
Diffstat (limited to 'roles/lib_openshift')
-rw-r--r-- | roles/lib_openshift/library/oc_adm_ca_server_cert.py | 4 | ||||
-rw-r--r-- | roles/lib_openshift/src/ansible/oc_adm_ca_server_cert.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/roles/lib_openshift/library/oc_adm_ca_server_cert.py b/roles/lib_openshift/library/oc_adm_ca_server_cert.py index 8872cda3a..ffb649eb7 100644 --- a/roles/lib_openshift/library/oc_adm_ca_server_cert.py +++ b/roles/lib_openshift/library/oc_adm_ca_server_cert.py @@ -1468,14 +1468,14 @@ def main(): debug=dict(default=False, type='bool'), kubeconfig=dict(default='/etc/origin/master/admin.kubeconfig', type='str'), backup=dict(default=True, type='bool'), - # oadm ca create-server-cert [options] + force=dict(default=False, type='bool'), + # oc adm ca create-server-cert [options] cert=dict(default=None, type='str'), key=dict(default=None, type='str'), signer_cert=dict(default='/etc/origin/master/ca.crt', type='str'), signer_key=dict(default='/etc/origin/master/ca.key', type='str'), signer_serial=dict(default='/etc/origin/master/ca.serial.txt', type='str'), hostnames=dict(default=[], type='list'), - force=dict(default=False, type='bool'), ), supports_check_mode=True, ) diff --git a/roles/lib_openshift/src/ansible/oc_adm_ca_server_cert.py b/roles/lib_openshift/src/ansible/oc_adm_ca_server_cert.py index 197095cac..c80c2eb44 100644 --- a/roles/lib_openshift/src/ansible/oc_adm_ca_server_cert.py +++ b/roles/lib_openshift/src/ansible/oc_adm_ca_server_cert.py @@ -12,14 +12,14 @@ def main(): debug=dict(default=False, type='bool'), kubeconfig=dict(default='/etc/origin/master/admin.kubeconfig', type='str'), backup=dict(default=True, type='bool'), - # oadm ca create-server-cert [options] + force=dict(default=False, type='bool'), + # oc adm ca create-server-cert [options] cert=dict(default=None, type='str'), key=dict(default=None, type='str'), signer_cert=dict(default='/etc/origin/master/ca.crt', type='str'), signer_key=dict(default='/etc/origin/master/ca.key', type='str'), signer_serial=dict(default='/etc/origin/master/ca.serial.txt', type='str'), hostnames=dict(default=[], type='list'), - force=dict(default=False, type='bool'), ), supports_check_mode=True, ) |