|
|
|
@ -25,6 +25,16 @@ backup_scripts_directory: "/root/backup"
|
|
|
|
|
backup_files_scripts_directory: "{{ backup_scripts_directory }}/files"
|
|
|
|
|
backup_mysql_database_scripts_directory: "{{ backup_scripts_directory }}/mysql_databases"
|
|
|
|
|
|
|
|
|
|
# Enabling "debug mode" allows deploying an debug / transitional instance besides another with the same base configuration
|
|
|
|
|
# The debug instance is reachable by using the same domain but prefixed with global_dns_debug_prefix
|
|
|
|
|
# Prevents overwriting of original's instance DNS config until debug mode is disabled
|
|
|
|
|
# If debug mode is disabled, the compatibility to the "debug domain" will be lost and the original's instance DNS config will be overwritten
|
|
|
|
|
# Other variables will need to be adjusted if both instances run on the same server
|
|
|
|
|
is_debug_instance: no
|
|
|
|
|
delete_debug_dns_entries: "{{ not is_debug_instance }}"
|
|
|
|
|
debug_domain: "_transfer.{{ domain }}" # used if is_debug_instance / on "debug mode", should only prefix domain
|
|
|
|
|
effective_domain: "{{ is_debug_instance | ternary(debug_domain, domain) }}"
|
|
|
|
|
|
|
|
|
|
global_local_user: "{{ lookup('env', 'USER') }}"
|
|
|
|
|
|
|
|
|
|
global_deployment_directory: "/ansible"
|
|
|
|
|