forked from digidemlab/decidim-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook.yml
35 lines (33 loc) · 1022 Bytes
/
playbook.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
---
# playbook file to set up the machine and install Decidim
- name: Provision the server on Hetzner
hosts: localhost
connection: local
gather_facts: True
vars:
override_default_file: "{{ lookup('first_found', 'custom_settings/vars.yml', errors='ignore') }}"
roles:
- role: common_settings
- role: hetzner
when: set_up_server and complete_install
- role: gandi
when: set_up_domain_name and complete_install
- role: matomo
when: set_up_analytics and complete_install
- role: sentry
when: set_up_error_tracking and complete_install
- hosts: server
vars:
override_default_file: "{{ lookup('first_found', 'custom_settings/vars.yml', errors='ignore') }}"
roles:
- role: common_settings
- role: init_container
- role: logrotate
- role: geerlingguy.clamav
- role: postgresql
- role: redis
- role: bot_blocker
- role: grzegorznowak.nvm_node
nvm_node_version: 16.9.1
nvm_install_globally: ['yarn']
- role: decidim