1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Documentation formatting for mongodb_user so it will show up in ansible-doc and the web.

This commit is contained in:
Michael DeHaan 2013-02-09 14:43:17 -05:00
parent 3c51feb36c
commit 6c4e1db54e

View file

@ -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
@ -72,9 +72,9 @@ examples:
description: Create 'burgers' database user with name 'bob' and password '12345'. description: Create 'burgers' database user with name 'bob' and password '12345'.
- 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
''' '''