Documentation formatting for mongodb_user so it will show up in ansible-doc and the web.
This commit is contained in:
parent
3c51feb36c
commit
6c4e1db54e
1 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,7 @@ module: mongodb_user
|
||||||
short_description: Adds or removes a user from a MongoDB database.
|
short_description: Adds or removes a user from a MongoDB database.
|
||||||
description:
|
description:
|
||||||
- Adds or removes a user from a MongoDB database.
|
- Adds or removes a user from a MongoDB database.
|
||||||
version_added: "0.X"
|
version_added: "1.1"
|
||||||
options:
|
options:
|
||||||
login_user:
|
login_user:
|
||||||
description:
|
description:
|
||||||
|
@ -41,7 +41,7 @@ options:
|
||||||
- The host running the database
|
- The host running the database
|
||||||
required: false
|
required: false
|
||||||
default: localhost
|
default: localhost
|
||||||
login_port
|
login_port:
|
||||||
description:
|
description:
|
||||||
- The port to connect to
|
- The port to connect to
|
||||||
required: false
|
required: false
|
||||||
|
@ -73,8 +73,8 @@ examples:
|
||||||
- code: "mongodb_user: database=burgers name=bob state=absent"
|
- code: "mongodb_user: database=burgers name=bob state=absent"
|
||||||
description: Delete 'burgers' database user with name 'bob'.
|
description: Delete 'burgers' database user with name 'bob'.
|
||||||
notes:
|
notes:
|
||||||
- Requires the pymongo Python package on teh remote host, version 2.4.2+. This
|
- Requires the pymongo Python package on the remote host, version 2.4.2+. This
|
||||||
can be installed using pip. @see http://api.mongodb.org/python/current/installation.html
|
can be installed using pip or the OS package manager. @see http://api.mongodb.org/python/current/installation.html
|
||||||
requirements: [ "pymongo" ]
|
requirements: [ "pymongo" ]
|
||||||
author: Elliott Foster
|
author: Elliott Foster
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue