{"id":24344415,"url":"https://github.com/xtream1101/ansible-mattermost","last_synced_at":"2026-03-17T01:33:58.252Z","repository":{"id":81334954,"uuid":"258368979","full_name":"xtream1101/ansible-mattermost","owner":"xtream1101","description":"Use ansible to install a mattermost chat server ","archived":false,"fork":false,"pushed_at":"2020-10-14T12:49:49.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T09:40:16.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xtream1101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-24T00:59:53.000Z","updated_at":"2020-10-14T12:49:51.000Z","dependencies_parsed_at":"2023-07-10T09:45:27.151Z","dependency_job_id":null,"html_url":"https://github.com/xtream1101/ansible-mattermost","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtream1101%2Fansible-mattermost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtream1101%2Fansible-mattermost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtream1101%2Fansible-mattermost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtream1101%2Fansible-mattermost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtream1101","download_url":"https://codeload.github.com/xtream1101/ansible-mattermost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243127373,"owners_count":20240610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-18T09:36:06.064Z","updated_at":"2025-12-26T02:10:56.850Z","avatar_url":"https://github.com/xtream1101.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mattermost Ansible Role\n\nThis role will install a Mattermost chat server on Ubuntu 18.04 with a nginx proxy.  \nSupports http or https via a lets encrypt cert.  \nIs configured to connect to a postgresql database which is not included in this role.\n\n\n## Other Roles being used\n\n### **nginxinc.nginx**\nSource: https://galaxy.ansible.com/nginxinc/nginx  \nUsed as the proxy server\n\n### **clutterbox.dehydrated**\nSource: https://galaxy.ansible.com/clutterbox/dehydrated  \nUsed to generate the certs if the var `mattermost_http_type` is set to `https`\n\n\n## Example playbooks\n\nInstall mattermost with no ssl using an external db\n```yaml\n---\n- name: Create a mattermost server\n  hosts: mattermost\n  become: true\n  vars:\n    mattermost_domain: \"mattermost.example.com\"\n    mattermost_http_type: \"http\"\n    mattermost_db_host: \"SOME_HOST/IP_HERE\"\n    mattermost_db_name: \"mattermost\"\n    mattermost_db_user: \"mmuser\"\n    mattermost_db_pass: \"secret\"\n\n  roles:\n    - xtream1101.mattermost\n```\n\nInstall mattermost alongside a postgres db and use letsencrypt certs\n```yaml\n\n- name: Create a mattermost server\n  hosts: mattermost\n  become: true\n  vars:\n    mattermost_domain: \"mattermost.example.com\"\n    mattermost_http_type: \"https\"\n    mattermost_db_name: \"mattermost\"\n    mattermost_db_user: \"mmuser\"\n    mattermost_db_pass: \"secret\"\n\n    postgresql_databases:\n      - name: \"{{ mattermost_db_name }}\"\n    postgresql_users:\n      - name: \"{{ mattermost_db_user }}\"\n        password: \"{{ mattermost_db_pass }}\"\n\n    dehydrated_accept_letsencrypt_terms: yes\n    dehydrated_contactemail: your@email.com\n    dehydrated_challengetype: dns-01\n    dehydrated_lexicon_dns:\n      LEXICON_CLOUDFLARE_USERNAME: your@email.com\n      LEXICON_CLOUDFLARE_TOKEN: AHG87923...\n    dehydrated_domains: |\n      {{ mattermost_domain }}\n\n  roles:\n    - geerlingguy.postgresql\n    - xtream1101.mattermost\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtream1101%2Fansible-mattermost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtream1101%2Fansible-mattermost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtream1101%2Fansible-mattermost/lists"}