xoxys.mongodb/README.md

193 lines
3.1 KiB
Markdown
Raw Normal View History

2019-10-17 19:38:55 +00:00
# xoxys.mongodb
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.mongodb/status.svg)](https://drone.rknet.org/ansible/xoxys.mongodb)
2017-07-14 20:28:21 +00:00
2019-10-17 19:38:55 +00:00
Setup mongodb database
## Table of content
* [Default Variables](#default-variables)
2019-11-22 23:10:22 +00:00
* [mongodb_net_bindip](#mongodb_net_bindip)
* [mongodb_net_http_enabled](#mongodb_net_http_enabled)
* [mongodb_net_ipv6_enabled](#mongodb_net_ipv6_enabled)
* [mongodb_net_maxconns](#mongodb_net_maxconns)
* [mongodb_net_port](#mongodb_net_port)
2019-10-17 19:38:55 +00:00
* [mongodb_packages_extra](#mongodb_packages_extra)
2019-11-22 23:10:22 +00:00
* [mongodb_processmanagement_fork_enabled](#mongodb_processmanagement_fork_enabled)
* [mongodb_rbac_enabled](#mongodb_rbac_enabled)
2019-10-17 19:38:55 +00:00
* [mongodb_storage_dbpath](#mongodb_storage_dbpath)
* [mongodb_storage_journal_enabled](#mongodb_storage_journal_enabled)
2019-11-22 23:10:22 +00:00
* [mongodb_system_group](#mongodb_system_group)
* [mongodb_system_user](#mongodb_system_user)
2019-10-17 19:38:55 +00:00
* [mongodb_systemlog_destination](#mongodb_systemlog_destination)
* [mongodb_systemlog_logappend](#mongodb_systemlog_logappend)
* [mongodb_systemlog_path](#mongodb_systemlog_path)
* [mongodb_user_admin_name](#mongodb_user_admin_name)
* [mongodb_user_admin_password](#mongodb_user_admin_password)
2019-11-22 23:10:22 +00:00
* [mongodb_version](#mongodb_version)
2019-10-17 19:38:55 +00:00
* [Dependencies](#dependencies)
* [License](#license)
* [Author](#author)
---
## Default Variables
2019-11-22 23:10:22 +00:00
### mongodb_net_bindip
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_net_bindip:
- 127.0.0.1
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_net_http_enabled
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_net_http_enabled: false
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_net_ipv6_enabled
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_net_ipv6_enabled: false
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_net_maxconns
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_net_maxconns: 51200
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_net_port
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_net_port: 27017
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_packages_extra
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_packages_extra: []
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_processmanagement_fork_enabled
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_processmanagement_fork_enabled: true
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_rbac_enabled
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_rbac_enabled: false
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_storage_dbpath
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_storage_dbpath: /var/lib/mongo
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_storage_journal_enabled
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_storage_journal_enabled: true
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_system_group
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_system_group: mongod
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_system_user
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_system_user: mongod
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_systemlog_destination
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_systemlog_destination: file
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_systemlog_logappend
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_systemlog_logappend: true
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_systemlog_path
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_systemlog_path: /var/log/mongodb/mongod.log
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_user_admin_name
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_user_admin_name: mongoadm
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_user_admin_password
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_user_admin_password: secure
2019-10-17 19:38:55 +00:00
```
2019-11-22 23:10:22 +00:00
### mongodb_version
2019-10-17 19:38:55 +00:00
#### Default value
```YAML
2019-11-22 23:10:22 +00:00
mongodb_version: 3.6
2019-10-17 19:38:55 +00:00
```
## Dependencies
None.
## License
MIT
## Author
2019-11-07 08:35:25 +00:00
[xoxys](https://gitea.rknet.org/xoxys)