<commit_before># ansible-mongodb

[MongoDB](https://www.mongodb.org/) - document-oriented database

[![Platforms](http://img.shields.io/badge/platforms-ubuntu-lightgrey.svg?style=flat)](#)


Description
-----------
> "MongoDB (from humongous) is a document-oriented databases. Classified as a NoSQL database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster."
> -- Wikipedia entry for MongoDB

Tunables
--------
* `mongodb_user` (string) - User to run MongoDB as?
* `mongodb_runtime_root` (string) - Directory for runtime data
* `mongodb_pidfile_path` (string) - Path for pidfile
* `mongodb_log_root` (string) - Directory for logs
* `mongodb_log_path` (string) - Path for log file
* `mongodb_client` (boolean) - Install MongoDB client?
* `mongodb_server` (boolean) - Install MongoDB server?
* `mongodb_accepts_external_connections` (boolean) - Should MongoDB listen for connections beyond localhost?
* `mongodb_auth_enabled` (boolean) - Require authentication?

Dependencies
------------
* [telusdigital.apt-repository](https://github.com/telusdigital/ansible-apt-repository/)
* [telusdigital.logrotate](https://github.com/telusdigital/ansible-logrotate/)
* [telusdigital.fluentd](https://github.com/telusdigital/ansible-fluentd/)

Example Playbook
----------------
    - hosts: servers
      roles:
         - role: telusdigital.mongodb
           mongodb_server: yes

License
-------
[MIT](https://tldrlegal.com/license/mit-license)

Contributors<commit_msg>Updated README.md with new permissions flag<commit_after># ansible-mongodb

[MongoDB](https://www.mongodb.org/) - document-oriented database

[![Platforms](http://img.shields.io/badge/platforms-ubuntu-lightgrey.svg?style=flat)](#)


Description
-----------
> "MongoDB (from humongous) is a document-oriented databases. Classified as a NoSQL database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster."
> -- Wikipedia entry for MongoDB

Tunables
--------
* `mongodb_user` (string) - User to run MongoDB as?
* `mongodb_runtime_root` (string) - Directory for runtime data
* `mongodb_pidfile_path` (string) - Path for pidfile
* `mongodb_log_root` (string) - Directory for logs
* `mongodb_log_path` (string) - Path for log file
* `mongodb_client` (boolean) - Install MongoDB client?
* `mongodb_server` (boolean) - Install MongoDB server?
* `mongodb_accepts_external_connections` (boolean) - Should MongoDB listen for connections beyond localhost?
* `mongodb_auth_enabled` (boolean) - Require authentication?
* `mongodb_set_permissions` (boolean) - yes|no It's set to no in the kitchen tests as the users and groups are not created. Otherwise this should be yes. It sets the appropriate permissions for Mongo.

Dependencies
------------
* [telusdigital.apt-repository](https://github.com/telusdigital/ansible-apt-repository/)
* [telusdigital.logrotate](https://github.com/telusdigital/ansible-logrotate/)
* [telusdigital.fluentd](https://github.com/telusdigital/ansible-fluentd/)

Example Playbook
----------------
    - hosts: servers
      roles:
         - role: telusdigital.mongodb
           mongodb_server: yes

License
-------
[MIT](https://tldrlegal.com/license/mit-license)

Contributors
{'fraction_non_alphanumeric': 0.13401187446988974, 'fraction_numerical': 0.0, 'mean_word_length': 4.202941176470588, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2906195', 'n_tokens_mistral': 1124, 'n_tokens_neox': 1026, 'n_words': 287}