Fix CONDITIONAL_BARE_VARS deprecation warning in ansible 2.8
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
- set_fact:
|
||||
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-mautrix-telegram'] }}"
|
||||
when: "matrix_mautrix_telegram_enabled"
|
||||
when: matrix_mautrix_telegram_enabled|bool
|
||||
|
@ -3,19 +3,19 @@
|
||||
- always
|
||||
|
||||
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
||||
when: "run_setup and matrix_mautrix_telegram_enabled"
|
||||
when: "run_setup|bool and matrix_mautrix_telegram_enabled|bool"
|
||||
tags:
|
||||
- setup-all
|
||||
- setup-mautrix-telegram
|
||||
|
||||
- import_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
||||
when: "run_setup and matrix_mautrix_telegram_enabled"
|
||||
when: "run_setup|bool and matrix_mautrix_telegram_enabled|bool"
|
||||
tags:
|
||||
- setup-all
|
||||
- setup-mautrix-telegram
|
||||
|
||||
- import_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
||||
when: "run_setup and not matrix_mautrix_telegram_enabled"
|
||||
when: "run_setup|bool and not matrix_mautrix_telegram_enabled|bool"
|
||||
tags:
|
||||
- setup-all
|
||||
- setup-mautrix-telegram
|
||||
|
@ -98,7 +98,7 @@
|
||||
but it's pointless since the matrix-nginx-proxy role had already executed.
|
||||
To fix this, please change the order of roles in your plabook,
|
||||
so that the matrix-nginx-proxy role would run after the matrix-bridge-mautrix-telegram role.
|
||||
when: "matrix_nginx_proxy_role_executed"
|
||||
when: matrix_nginx_proxy_role_executed|bool
|
||||
|
||||
- name: Generate Mautrix Telegram proxying configuration for matrix-nginx-proxy
|
||||
set_fact:
|
||||
|
Reference in New Issue
Block a user