kurron.mongodb

Role Name

This role sets up a MongoDB server, mostly for RHEL systems. When using AWS, we address the issue where the /var/run/mongodb directory might disappear. We also turn off Transparent Huge Pages, as MongoDB suggests.

Requirements

To be determined (TODO)

Role Variables

  • mongodb_install: true - Indicates if MongoDB should be installed.
  • mongodb_version: 3.4 - Specifies the version of MongoDB to install.
  • mongodb_storage_directory: /var/lib/mongo - Directory for MongoDB data storage.
  • mongodb_log_directory: /var/log/mongodb - Directory for MongoDB log files.
  • mongodb_process_directory: /var/run/mongodb - Directory for MongoDB process files.
  • mongodb_port: 27017 - Port on which MongoDB will run.
  • mongodb_agent_install: true - Indicates if the MongoDB agent should be installed.
  • mongodb_agent_api_key: 00000000000000000000000000000000 - API key for the MongoDB agent.
  • mongodb_agent_mmsBaseURL: https://api-agents.mongodb.com - Base URL for the MongoDB agent.
  • mongodb_agent_version: 5.4.2.354-1 - Version of the MongoDB agent.

Dependencies

  • Requires the kurron.base role.

Example Playbook

- hosts: servers
  roles:
      - { role: kurron.mongodb, mongodb_agent_api_key: 12345 }

License

This project is licensed under the Apache License Version 2.0, January 2004.

Author Information

Visit the Author's website.

Informazioni sul progetto

MongoDB document database.

Installa
ansible-galaxy install kurron.mongodb
Licenza
apache-2.0
Download
791
Proprietario
Software engineer with many years of JVM, cloud and container development experience.