Create/Delete Couchdb Database.
Version added: 0.2.0
- Create/Delete Couchdb Database.
- https://docs.couchdb.org/en/stable/api/index.html
The below requirements are needed on the host that executes this module.
- requests
- name: create database in couchdb
community.missing_collection.couchdb_db:
scheme: 'http'
host: 'localhost'
port: '5984'
user: 'admin'
password: 'password'
state: 'present'
database: 'test1'
- name: delete database in couchdb
community.missing_collection.couchdb_db:
scheme: 'http'
host: 'localhost'
port: '5984'
user: 'admin'
password: 'password'
state: 'absent'
database: 'test1'
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
result
dictionary
|
when success. |
result of the api request.
|
- Davinder Pal (@116davinder) <dpsangwal@gmail.com>