Make AWX enabling/disabling consistent with other playbook roles

That is:
- enabled in the role by default
- disabled in the compilation (playbook), if considered an optional
component
This commit is contained in:
Slavi Pantaleev 2021-03-24 14:02:53 +02:00
parent b89936afba
commit 5a4ea5f866
2 changed files with 4 additions and 2 deletions

View file

@ -35,6 +35,9 @@ matrix_homeserver_container_url: "{{ 'http://matrix-nginx-proxy:12080' if matrix
#
######################################################################
# We don't enable AWX support by default.
matrix_awx_enabled: false
matrix_nginx_proxy_data_path: "{{ '/chroot/website' if (matrix_awx_enabled and not matrix_nginx_proxy_base_domain_homepage_enabled) else (matrix_nginx_proxy_base_path + '/data') }}"
matrix_nginx_proxy_data_path_in_container: "{{ '/nginx-data/matrix-domain' if (matrix_awx_enabled and not matrix_nginx_proxy_base_domain_homepage_enabled) else '/nginx-data' }}"

View file

@ -1,2 +1 @@
matrix_awx_enabled: false
matrix_awx_enabled: true