xtream1101.mattermost

Rola Ansible dla Mattermost

Ta rola zainstaluje serwer czatu Mattermost na Ubuntu 18.04 z proxy nginx.
Obsługuje http lub https za pomocą certyfikatu Let's Encrypt.
Jest skonfigurowana do łączenia się z bazą danych PostgreSQL, która nie jest dołączona do tej roli.

Inne używane role

nginxinc.nginx

Źródło: https://galaxy.ansible.com/nginxinc/nginx
Używane jako serwer proxy

clutterbox.dehydrated

Źródło: https://galaxy.ansible.com/clutterbox/dehydrated
Używane do generowania certyfikatów, jeśli zmienna mattermost_http_type jest ustawiona na https

Przykładowe playbooki

Zainstaluj Mattermost bez SSL używając zewnętrznej bazy danych

---
- name: Utwórz serwer Mattermost
  hosts: mattermost
  become: true
  vars:
    mattermost_domain: "mattermost.example.com"
    mattermost_http_type: "http"
    mattermost_db_host: "SOME_HOST/IP_HERE"
    mattermost_db_name: "mattermost"
    mattermost_db_user: "mmuser"
    mattermost_db_pass: "secret"

  roles:
    - xtream1101.mattermost

Zainstaluj Mattermost obok bazy danych PostgreSQL i użyj certyfikatów Let's Encrypt

- name: Utwórz serwer Mattermost
  hosts: mattermost
  become: true
  vars:
    mattermost_domain: "mattermost.example.com"
    mattermost_http_type: "https"
    mattermost_db_name: "mattermost"
    mattermost_db_user: "mmuser"
    mattermost_db_pass: "secret"

    postgresql_databases:
      - name: "{{ mattermost_db_name }}"
    postgresql_users:
      - name: "{{ mattermost_db_user }}"
        password: "{{ mattermost_db_pass }}"

    dehydrated_accept_letsencrypt_terms: yes
    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
O projekcie

Role to deploy Mattermost

Zainstaluj
ansible-galaxy install xtream1101.mattermost
Licencja
mit
Pobrania
163
Właściciel