You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
4.0 KiB

3 years ago
# Load initial hosting and organisation variables from AWX volume
3 years ago
- include_tasks:
file: "load_hosting_and_org_variables.yml"
apply:
tags: always
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- always
3 years ago
# Renames the variables if needed
- include_tasks:
file: "rename_variables.yml"
apply:
tags: always
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- always
3 years ago
# Perform a backup of the server
3 years ago
- include_tasks:
file: "backup_server.yml"
apply:
tags: backup-server
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- backup-server
3 years ago
# Create a user account if called
3 years ago
- include_tasks:
file: "create_user.yml"
apply:
tags: create-user
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- create-user
# Purge local/remote media if called
- include_tasks:
file: "purge_media_main.yml"
apply:
tags: purge-media
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- purge-media
3 years ago
# Purge Synapse database if called
- include_tasks:
file: "purge_database_main.yml"
apply:
tags: purge-database
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- purge-database
# Import configs, media repo from /chroot/backup import
- include_tasks:
file: "import_awx.yml"
apply:
tags: import-awx
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- import-awx
3 years ago
# Perform extra self-check functions
3 years ago
- include_tasks:
file: "self_check.yml"
apply:
tags: self-check
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- self-check
3 years ago
# Create cached matrix_vars.yml file
3 years ago
- include_tasks:
file: "cache_matrix_variables.yml"
3 years ago
apply:
tags: always
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- always
3 years ago
3 years ago
# Configure SFTP so user can upload a static website or access the servers export
3 years ago
- include_tasks:
file: "customise_website_access_export.yml"
apply:
tags: setup-nginx-proxy
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- setup-nginx-proxy
# Additional playbook to set the variable file during Element configuration
3 years ago
- include_tasks:
file: "set_variables_element.yml"
apply:
tags: setup-client-element
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- setup-client-element
# Additional playbook to set the variable file during Synapse configuration
3 years ago
- include_tasks:
file: "set_variables_synapse.yml"
apply:
tags: setup-synapse
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- setup-synapse
# Additional playbook to set the variable file during Jitsi configuration
3 years ago
- include_tasks:
file: "set_variables_jitsi.yml"
apply:
tags: setup-jitsi
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- setup-jitsi
# Additional playbook to set the variable file during Ma1sd configuration
3 years ago
- include_tasks:
file: "set_variables_ma1sd.yml"
apply:
tags: setup-ma1sd
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- setup-ma1sd
3 years ago
# Additional playbook to set the variable file during Corporal configuration
3 years ago
- include_tasks:
file: "set_variables_corporal.yml"
apply:
tags: setup-corporal
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- setup-corporal
3 years ago
# Additional playbook to set the variable file during Dimension configuration
- include_tasks:
file: "set_variables_dimension.yml"
apply:
tags: setup-dimension
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- setup-dimension
3 years ago
# Additional playbook to set the variable file during Synapse Admin configuration
3 years ago
- include_tasks:
file: "set_variables_synapse_admin.yml"
apply:
tags: setup-synapse-admin
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- setup-synapse-admin
3 years ago
# Load newly formed matrix variables from AWX volume
3 years ago
- include_tasks:
file: "load_matrix_variables.yml"
apply:
tags: always
3 years ago
when: run_setup|bool and matrix_awx_enabled|bool
tags:
- always