Commit bcebbaff authored by nono's avatar nono 💻
Browse files

Move default variables to default/main.yml and update env file accordingly

parent 4b68dacc
---
# defaults file for don-lqdn
---
# vars file for don-lqdn
don_user_password: "change this password"
# SQL
don_sql_database: "don"
don_sql_user: "don"
don_sql_password: "change this password"
# Payements
don_base_domain: "don.test.laquadrature.net"
don_payement_url: "http://localhost:5001/payment"
don_return_check_url: "http://localhost:5001/check"
don_site_id: "0"
don_certificate: ""
don_ctx_mode: "DEVELOPPEMENT"
# Piplome
don_piplome_path: ""
don_piplome_url: ""
# Logs
don_logs: "/home/don/don/logs"
# Campagne
don_campaign_start_date: ""
don_campaign_budget: ""
# SMTP
don_smtp_host: ""
don_smtp_port: ""
don_smtp_security: "" # tls, ssl, or none
don_smtp_user: ""
don_smtp_pw: ""
# Env debug
don_debug: 0
don_env: "env"
......@@ -3,7 +3,7 @@ export SQL_HOST=127.0.0.1
export SQL_PORT=3306
export SQL_DATABASE={{ don_sql_database }}
export SQL_USER={{ don_sql_user }}
export SQL_PASSWORD="{{ don_sql_password }}"
export SQL_PASSWORD={{ don_sql_password }}
# Phinx configuration
export PHINX_HOST=${SQL_HOST}
......
---
# vars file for don-lqdn
don_user_password: "change this password"
# SQL
don_sql_database: "don"
don_sql_user: "don"
don_sql_password: "change this password"
# Payements
don_base_domain: "don.test.laquadrature.net"
don_payement_url: "http://localhost:5001/payment"
don_return_check_url: "http://localhost:5001/check"
don_site_id: "0"
don_certificate: ""
don_ctx_mode: "DEVELOPPEMENT"
# Piplome
don_piplome_path: ""
don_piplome_url: ""
# Logs
don_logs: "/home/don/don/logs"
# Campagne
don_campaign_start_date: ""
don_campaign_budget: ""
# SMTP
don_smtp_host: ""
don_smtp_port: ""
don_smtp_security: "" # tls, ssl, or none
don_smtp_user: ""
don_smtp_pw: ""
# Env debug
don_debug: 0
don_env: "env"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment