automation/deployer/group_vars/all/vars.yml
2020-06-21 19:28:12 +02:00

161 lines
5.1 KiB
YAML

---
mysql_root_password: "{{ vault_mysql_root_password }}"
adrien_serenity_password: "{{ vault_adrien_serenity_password }}"
www_path: /vault/www
sites_path: /vault/sites
backups_path: /vault/backups
wordpress:
version: 5.4
checksum: sha1:d5f1e6d7cadd72c11d086a2e1ede0a72f23d993e
gitea:
version: 1.11.4
synapse:
version: v1.14.0-py3
sites:
# - slug: rdb # Shorthand name to use as directory/file name
# # The site URL (without www)
# url: rennesdesbois.fr
# # Ask nginx to redirect url to www
# # Else, we redirect www to url
# redirect_to_www: yes
# # What kind of site is that?
# type: wordpress
# # Subnet addresses
# subnet_cidr_address: 172.27.1.0/24
# subnet_gateway_ip: 172.27.1.1
# subnet_nginx_ip: 172.27.1.2
# subnet_site_ip: 172.27.1.3
# # MySQL
# mysql_database: rdb
# mysql_username: rdb
# mysql_password: "{{ vault_rdb_mysql_password }}"
# - slug: arvuhez # Shorthand name to use as directory/file name
# # The site URL (without www)
# url: arvuhez.org
# # Ask nginx to redirect url to www
# # Else, we redirect www to url
# redirect_to_www: no
# # What kind of site is that?
# type: wordpress
# # Subnet addresses
# subnet_cidr_address: 172.27.2.0/24
# subnet_gateway_ip: 172.27.2.1
# subnet_nginx_ip: 172.27.2.2
# subnet_site_ip: 172.27.2.3
# # MySQL
# mysql_database: arvuhez
# mysql_username: arvuhez
# mysql_password: "{{ vault_arvuhez_mysql_password }}"
# - slug: zinzoscope # Shorthand name to use as directory/file name
# # The site URL (without www)
# url: zinz.luxeylab.net
# # Ask nginx to redirect url to www
# # Else, we redirect www to url
# redirect_to_www: no
# # What kind of site is that?
# type: wordpress
# # Subnet addresses
# subnet_cidr_address: 172.27.3.0/24
# subnet_gateway_ip: 172.27.3.1
# subnet_nginx_ip: 172.27.3.2
# subnet_site_ip: 172.27.3.3
# # MySQL
# mysql_database: zinzoscope
# mysql_username: zinzoscope
# mysql_password: "{{ vault_zinzoscope_mysql_password }}"
# - slug: lexperimental # Shorthand name to use as directory/file name
# # The site URL (without www)
# url: lexperimental.fr
# # Ask nginx to redirect url to www
# # Else, we redirect www to url
# redirect_to_www: no
# # What kind of site is that?
# type: wordpress
# # Subnet addresses
# subnet_cidr_address: 172.27.4.0/24
# subnet_gateway_ip: 172.27.4.1
# subnet_nginx_ip: 172.27.4.2
# subnet_site_ip: 172.27.4.3
# # MySQL
# mysql_database: lexperimental
# mysql_username: lexperimental
# mysql_password: "{{ vault_lexperimental_mysql_password }}"
# - slug: mts # Shorthand name to use as directory/file name
# # The site URL (without www)
# url: editionsmangetasoupe.fr
# # Ask nginx to redirect url to www
# # Else, we redirect www to url
# redirect_to_www: no
# # What kind of site is that?
# type: drupal
# # Subnet addresses
# subnet_cidr_address: 172.27.5.0/24
# subnet_gateway_ip: 172.27.5.1
# subnet_site_ip: 172.27.5.2
# # This will allow setting up MySQL
# # Configuration on Drupal's side must be done by hand:
# # Edit your <drupal_install>/sites/default/settings.php
# mysql_database: mts8
# mysql_username: mts
# mysql_password: "{{ vault_mts_mysql_password }}"
# - slug: gitea # Shorthand name to use as directory/file name
# # The site URL (without www)
# url: git.deuxfleurs.fr
# # Ask nginx to redirect url to www
# # Else, we redirect www to url
# redirect_to_www: no
# # What kind of site is that?
# type: gitea
# # Subnet addresses
# subnet_cidr_address: 172.27.6.0/24
# subnet_gateway_ip: 172.27.6.1
# subnet_site_ip: 172.27.6.2
# # User IDs
# user_name: git
# user_uid: 1007
# user_group: git
# user_gid: 1006
# # MySQL
# mysql_database: gitea
# mysql_username: gitea
# mysql_password: "{{ vault_gitea_mysql_password }}"
- slug: synapse_test # Shorthand name to use as directory/file name
# The site URL (without www)
url: test.zinz.dev
# Wanna display custom HTML as landing page? Fill this with its path.
# To keep the defaults, comment line
custom_landing: /vault/www/riot
# What kind of site is that?
type: synapse
# User IDs
user_uid: 33 # www-data
user_gid: 33 # www-data
# Subnet addresses
subnet_cidr_address: 172.27.7.0/24
subnet_gateway_ip: 172.27.7.1
subnet_site_ip: 172.27.7.2
# PostgreSQL
postgres_host: /var/run/postgresql
postgres_database: synapse_test
postgres_username: synapse_test
postgres_password: "{{ vault_synapse_test_postgres_password }}"
# SMTP
contact_email: contact@zinz.dev
smtp_host: mail.gandi.net
smtp_port: 587 # Clear: 25, SSL: 465, STARTTLS: 587
smtp_username: contact@zinz.dev
smtp_password: "{{ vault_smtp_contact_at_zinz_dev }}"
# Secrets
registration_shared_secret: "{{ vault_synapse_test_registration_shared_secret }}"
# Others
max_upload_size: 20M