From e3ef80f5d6b6b0f053307bdd9fa58ce928310a57 Mon Sep 17 00:00:00 2001 From: Chrrrles Paul Date: Wed, 20 Sep 2017 03:09:22 +0800 Subject: [PATCH] oc module- Fixing description & removing example command (#30257) * Fixing description & removing oc/adm example Noticed formatting errors on http://docs.ansible.com/ansible/latest/oc_module.html -- also removing oc/oadm command examples * Trailing whitespace.. --- lib/ansible/modules/clustering/oc.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/ansible/modules/clustering/oc.py b/lib/ansible/modules/clustering/oc.py index 268a91ab8df..a53064277d7 100644 --- a/lib/ansible/modules/clustering/oc.py +++ b/lib/ansible/modules/clustering/oc.py @@ -18,14 +18,11 @@ DOCUMENTATION = """ author: - "Kenneth D. Evensen (@kevensen)" description: - "This module allows management of resources in an OpenShift cluster. The - inventory host can be any host with network connectivity to the OpenShift - cluster; the default port being 8443/TCP. This module relies on a token - to authenticate to OpenShift. This can either be a user or a service - account. For example: - - $ oc create serviceaccount ansible-sa - $ oadm policy add-cluster-role-to-user cluster-admin system:serviceaccount:default:ansible-sa" + - This module allows management of resources in an OpenShift cluster. The + inventory host can be any host with network connectivity to the OpenShift + cluster; the default port being 8443/TCP. + - This module relies on a token to authenticate to OpenShift. This can either + be a user or a service account. module: oc options: host: