forked from jamielinux/ansible-discourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaster.yml
53 lines (37 loc) · 943 Bytes
/
master.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
39
40
41
42
43
44
45
46
47
48
49
50
51
---
- name: "install unbound as a local DNSSEC-validating resolver"
hosts: "all"
sudo: True
gather_facts: True
roles:
- role: "unbound"
tags: ["unbound"]
- name: "install postgres for use with discourse"
hosts: "postgres"
sudo: True
gather_facts: True
roles:
- role: "postgres-discourse"
tags: ["postgres-discourse"]
- name: "install and configure redis"
hosts: "redis"
sudo: True
gather_facts: True
roles:
- role: "redis"
tags: ["redis"]
- name: "install discourse, unicorn and nginx"
hosts: "discourse"
sudo: True
gather_facts: True
roles:
- role: "discourse"
tags: ["discourse"]
- role: "nginx-discourse"
tags: ["nginx-discourse"]
- role: "opendkim"
tags: ["opendkim"]
when: discourse_smtp_address == 'localhost' and dkim_enabled
- role: "postfix"
tags: ["postfix"]
when: discourse_smtp_address == 'localhost'