-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.example.yml
38 lines (35 loc) · 1.09 KB
/
site.example.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
---
# This is an ansible main playbook for the site you deploy
- hosts: local
sudo: yes
vars:
# If development, all error reporting will be detailed etc. If production - production settings apply
env_name: development
# The timezone of the server being configureds
timezone: Europe/Moscow
# Locale to configure server in
locale_long: ru_RU
locale_short: ru
# Project name in various spelling to substitute into file and folder paths.
project_name_camel: OOTalks
project_name_snake: oo_talks
project_name_www: oo-talks
roles:
- role: web
http_user: "{{ 'vagrant' if env_name == 'development' else 'nginx' }}"
site_id: "{{ project_name_snake }}"
site_web_folder: ""
app_type: regular
domains:
- "www.{{ project_name_www }}.local"
- "{{ project_name_www }}.local"
ssl: no
- role: postgres
database: "{{ project_name_snake }}"
user: "{{ project_name_snake }}"
password: "{{ project_name_snake }}"
extensions:
- citext
- role: redis
- role: elastic
- role: rabbitmq