-
Notifications
You must be signed in to change notification settings - Fork 1
/
askbot_complete.yml
30 lines (27 loc) · 1.14 KB
/
askbot_complete.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
#
# An Ansible playbook for a self-contained Askbot installation
#
- hosts: askbot
name: Deploy askbot and all dependencies into a single host
user: root
roles:
# Include the jasmin role only if you are deploying on JASMIN.
- jasmin
# These roles install services Askbot depends on.
- postgres
- apache
- memcached
# List each Askbot instance here with their vhost. Database passwords are automatically
# saved to the ./lookups directory on the Ansible control host.
#!WARNING: multiple instances don't work yet!
- { role: askbot, app_name: askbot_esgf, app_vhost: askbot.esgf.org,
app_email: [email protected] }
- { role: askbot, app_name: askbot_clim4i, app_vhost: askbot.climate4impact.eu,
app_email: [email protected] }
vars:
# If debug_email is yes then Askbot will not send out email but will save emails to a
# directory instead (/var/www/askbot/<app_name>_site/log/messages)
- debug_email: yes
# Required if you are behing the STFC proxy.
- http_proxy: "{{ proxy_host }}:{{ proxy_port }}"
- https_proxy: "{{ proxy_host }}:{{ proxy_port }}"