2019-01-17 19:32:46 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: (Deprecation) Catch and report renamed settings
|
|
|
|
fail:
|
2019-05-25 06:41:04 +08:00
|
|
|
msg: >-
|
2019-01-17 19:32:46 +08:00
|
|
|
Your configuration contains a variable, which now has a different name.
|
|
|
|
Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
|
|
|
|
when: "item.old in vars"
|
|
|
|
with_items:
|
|
|
|
- {'old': 'matrix_nginx_proxy_matrix_client_api_addr_with_proxy_container', 'new': 'matrix_nginx_proxy_proxy_matrix_client_api_addr_with_container'}
|
|
|
|
- {'old': 'matrix_nginx_proxy_matrix_client_api_addr_sans_proxy_container', 'new': 'matrix_nginx_proxy_proxy_matrix_client_api_addr_sans_container'}
|
|
|
|
|
2019-08-02 16:59:10 +08:00
|
|
|
- name: Fail on unknown matrix_ssl_retrieval_method
|
|
|
|
fail:
|
|
|
|
msg: >-
|
|
|
|
`matrix_ssl_retrieval_method` needs to be set to a known value.
|
|
|
|
when: "matrix_ssl_retrieval_method not in ['lets-encrypt', 'self-signed', 'manually-managed', 'none']"
|