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

reviewable/pr18780/r1
Michael DeHaan 12 years ago
parent c6e8b3a8e6
commit b22b087cf0

@ -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
''' '''

Loading…
Cancel
Save