azhard4int.ansible_role_cerebro

Rôle Ansible État de la construction

ansible-role-cerebro

Ceci est un rôle Ansible pour installer et configurer cerebro.

Exigences

  • Ansible
    • 2.3.2.0 +

Variables du rôle

Configuration d'installation de Cerebro

----
cerebro_install_dir: /opt
cerebro_version: 0.7.1
cerebro_group: root
cerebro_owner: root
cerebro_port: 9000
cerebro_http_address: 0.0.0.0

Configuration de l'application Cerebro

cerebro_local_data_path: ./cerebro.db
cerebro_play_secret: ki:s:[[@=Ag?QI`W2jMwkY:eqvrJ]JqoJyi2axj3ZvOv^/KavOT4ViJSv?6YY4[N
cerebro_rest_history: 100

cerebro_es_hosts:
  - name: Ce Cluster
    host: http://elasticsearch.com

Configuration pour LDAP

cerebro_ldap_auth:
  url: ldap://host:port
  base_dn: ou=active,ou=Employee
  method: simple
  user_domain: domain.com
  user_auth:
    username: admin
    password: 1234

Dépendances

Ce rôle installera également les dépendances suivantes, à moins que la variable cerebro_skip_java_install: true ne soit définie.

  • geerlingguy.java
    • jdk 1.8.0

Exemple de Playbook

---
- hosts: all
  become: true
  roles:
    - role: mplachter.cerebro
  vars:
    cerebro_local_data_path: /var/lib/cerebro/cerebro.db
    cerebro_play_secret: ki:s:[[@=Ag?QI`W2jfdsfwkY:eqvrJ]JqoJyi2DCj3Zv0v^/KavOT4ViJdsafY4[N
    cerebro_rest_history: 200

    cerebro_es_hosts:
      - name: Cluster Prod
        host: http://prod.es5.mydomain.com
        es_auth:
          username: ES_user
          password: ES_user_password
      - name: Cluster QA
        host: http://qa.es5.mydomain.com
  • Exemple minimal
---
- hosts: all
  become: true
  roles:
    - role: mplachter.cerebro

Licence

MIT

Informations sur l'auteur

Matt Plachter

À propos du projet

Ansible Role for Cerebro (Elasticsearch 5.0 Kopf replacement)

Installer
ansible-galaxy install azhard4int.ansible_role_cerebro
Licence
mit
Téléchargements
191
Propriétaire
Founder of ContentStudio, and Replug. Building Usermaven.com in public.