xtream1101.mattermost
Rol de Ansible para Mattermost
Esta rol instalará un servidor de chat Mattermost en Ubuntu 18.04 con un proxy nginx.
Soporta http o https a través de un certificado de lets encrypt.
Está configurado para conectarse a una base de datos postgresql que no se incluye en esta rol.
Otras Roles en uso
nginxinc.nginx
Fuente: https://galaxy.ansible.com/nginxinc/nginx
Usado como el servidor proxy.
clutterbox.dehydrated
Fuente: https://galaxy.ansible.com/clutterbox/dehydrated
Usado para generar los certificados si la variable mattermost_http_type
está configurada como https
.
Ejemplos de playbooks
Instalar Mattermost sin ssl usando una base de datos externa
---
- name: Crear un servidor Mattermost
hosts: mattermost
become: true
vars:
mattermost_domain: "mattermost.ejemplo.com"
mattermost_http_type: "http"
mattermost_db_host: "ALGÚN_HOST/IP_AQUÍ"
mattermost_db_name: "mattermost"
mattermost_db_user: "mmuser"
mattermost_db_pass: "contraseña_secreta"
roles:
- xtream1101.mattermost
Instalar Mattermost junto a una base de datos postgres y usar certificados de letsencrypt
- name: Crear un servidor Mattermost
hosts: mattermost
become: true
vars:
mattermost_domain: "mattermost.ejemplo.com"
mattermost_http_type: "https"
mattermost_db_name: "mattermost"
mattermost_db_user: "mmuser"
mattermost_db_pass: "contraseña_secreta"
postgresql_databases:
- name: "{{ mattermost_db_name }}"
postgresql_users:
- name: "{{ mattermost_db_user }}"
password: "{{ mattermost_db_pass }}"
dehydrated_accept_letsencrypt_terms: sí
dehydrated_contactemail: [email protected]
dehydrated_challengetype: dns-01
dehydrated_lexicon_dns:
LEXICON_CLOUDFLARE_USERNAME: [email protected]
LEXICON_CLOUDFLARE_TOKEN: AHG87923...
dehydrated_domains: |
{{ mattermost_domain }}
roles:
- geerlingguy.postgresql
- xtream1101.mattermost
Instalar
ansible-galaxy install xtream1101.mattermost
Licencia
mit
Descargas
163
Propietario