forked from consuldemocracy/installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yml
53 lines (49 loc) · 915 Bytes
/
app.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
52
53
---
- name: Set up web server
hosts: all
become: true
vars:
ansible_user: "{{ deploy_user }}"
roles:
- letsencrypt
- nginx
- name: Set up CONSUL
hosts: all
become: true
become_user: "{{ deploy_user }}"
vars:
# https://github.com/ansible/proposals/issues/89
ansible_user: "{{ deploy_user }}"
roles:
- folder_structure
- ruby
- rails
- email
- queue
- puma
- name: Post-installation tasks
hosts: all
become: true
vars:
ansible_user: "{{ deploy_user }}"
roles:
- memcached
- timezone
- name: Install Errbit
hosts: all
become: true
vars:
ansible_user: "{{ deploy_user }}"
roles:
- role: mongodb
when: errbit|bool
- role: errbit
become_user: "{{ deploy_user }}"
when: errbit|bool
- name: Check system
hosts: all
become: true
vars:
ansible_user: "{{ deploy_user }}"
roles:
- specs