forked from tjtoml/mattermost-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
play.yml
executable file
·38 lines (31 loc) · 1008 Bytes
/
play.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
# Define the host you want to run the playbook in a file called hosts
# run "ansible-playbook play.yml -i hosts" from this directory
- hosts: all
remote_user: root
gather_facts: no
pre_tasks:
- name: Install python
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
changed_when: false
- name: Gather Facts
setup:
vars:
mattermost_version: 5.12.0
postgres_version: 9.4
# The user the mattermost process will run as. The group will match.
mattermost_user: mattermost
# These do not need to be edited.
db_user: mmmost
db_name: mattermost
# Choose a secure password. It is recommended you create a random password using
# an external utility.
db_password: notReallyPassword
# This is the email address you want to be attached to the letsencrypt certificate. It should be valid.
cert_email_address: [email protected]
roles:
- postgres
- mattermost
- letsencrypt
- nginx
- cron