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..
This commit is contained in:
Chrrrles Paul 2017-09-20 03:09:22 +08:00 committed by ansibot
parent b9120dfd97
commit e3ef80f5d6

View file

@ -18,14 +18,11 @@ DOCUMENTATION = """
author: author:
- "Kenneth D. Evensen (@kevensen)" - "Kenneth D. Evensen (@kevensen)"
description: description:
"This module allows management of resources in an OpenShift cluster. The - This module allows management of resources in an OpenShift cluster. The
inventory host can be any host with network connectivity to the OpenShift 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 cluster; the default port being 8443/TCP.
to authenticate to OpenShift. This can either be a user or a service - This module relies on a token to authenticate to OpenShift. This can either
account. For example: be a user or a service account.
$ oc create serviceaccount ansible-sa
$ oadm policy add-cluster-role-to-user cluster-admin system:serviceaccount:default:ansible-sa"
module: oc module: oc
options: options:
host: host: