Unified document generator and make to generate JSON and JS files

This commit is contained in:
Marco Vito Moscaritolo
2012-10-09 22:04:55 +02:00
committed by Michael DeHaan
parent 85fb83a5db
commit ee679c0190
51 changed files with 5969 additions and 9 deletions

View File

@@ -0,0 +1,74 @@
{
"requirements": [
"psycopg2"
],
"description": [
"Add or remove PostgreSQL databases from a remote host."
],
"author": "Lorin Hochstein",
"notes": [
"The default authentication assumes that you are either logging in as or sudo'ing to the postgres account on the host.",
"This module uses psycopg2, a Python PostgreSQL database adapter. You must ensure that psycopg2 is installed on the host before using this module. If the remote host is the PostgreSQL server (which is the default case), then PostgreSQL must also be installed on the remote host. For Ubuntu-based systems, install the postgresql, libpq-dev, and python-psycopg2 packages on the remote host before using this module."
],
"docuri": "postgresql-db",
"module": "postgresql_db",
"filename": "library/postgresql_db",
"examples": [
{
"code": "postgresql_db db=acme",
"description": "Create a new database with name 'acme'"
}
],
"version_added": "0.6",
"short_description": "Add or remove PostgreSQL databases from a remote host.",
"now_date": "2012-10-09",
"options": {
"state": {
"default": "present",
"required": false,
"description": [
"The database state"
],
"choices": [
"present",
"absent"
]
},
"name": {
"default": null,
"required": true,
"description": [
"name of the database to add or remove"
]
},
"login_password": {
"default": null,
"required": false,
"description": [
"The password used to authenticate with"
]
},
"owner": {
"default": null,
"required": false,
"description": [
"Name of the role to set as owner of the database"
]
},
"login_user": {
"default": null,
"required": false,
"description": [
"The username used to authenticate with"
]
},
"login_host": {
"default": "localhost",
"required": false,
"description": [
"Host running the database"
]
}
},
"ansible_version": "0.8"
}