o-leolleo / ansible-role-mongodb

Ansible role for the installation and configuration of a mongodb 4.2 node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: MongoDB Build Status

Veja em outras linguagens

Descrição

Role para instalação do MongoDB server 4.2.

Plataformas

  • Ubuntu 18.04

Dependências

Nenhuma.

Variáveis do Role

O role possui as variáveis mostradas abaixo, junto ao seus valores padrão:

# Ela permite especificar customizar a configuração da instância do MongoDB de acordo com suas necessidades.
mongodb_configuration_template_file_path: templates/mongod.conf.j2

# Ajusta o valor do tcp keepalive de acordo com https://docs.mongodb.com/manual/faq/diagnostics/#adjusting-the-tcp-keepalive-value
mongodb_tcp_keep_alive_time: null

Playbook Exemplo

# uso padrão
- hosts: servers
  roles:
     - leolleocomp.mongodb

# utilizando uma configuração customizada
- hosts: servers
  roles:
    - role: leolleocomp.mongodb
      mongodb_configuration_template_file_path: ./templates/mongod-with-nice-tricks.conf.j2

Como contribuir?

English version Spanish version

License

MIT

About

Ansible role for the installation and configuration of a mongodb 4.2 node

License:MIT License


Languages

Language:HTML 68.8%Language:Shell 31.2%