Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 

27 строки
1.2 KiB

  1. # SPDX-FileCopyrightText: 2026 MDAD project contributors
  2. # SPDX-FileCopyrightText: 2026 Nikita Chernyi
  3. #
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. ---
  6. - name: (Deprecation) Catch and report renamed settings
  7. ansible.builtin.fail:
  8. msg: >-
  9. Your configuration contains a variable, which now has a different name.
  10. Please rename the variable (`{{ item.old }}` -> `{{ item.new }}`) on your configuration file (vars.yml).
  11. when: "lookup('ansible.builtin.varnames', ('^' + item.old + '$'), wantlist=True) | length > 0"
  12. with_items: []
  13. - name: Fail if required beeper-line settings not defined
  14. ansible.builtin.fail:
  15. msg: >-
  16. You need to define a required configuration setting (`{{ item.name }}`).
  17. when: "item.when | bool and lookup('vars', item.name, default='') | string | length == 0"
  18. with_items:
  19. - {'name': 'matrix_bridge_beeper_line_appservice_token', when: true}
  20. - {'name': 'matrix_bridge_beeper_line_homeserver_address', when: true}
  21. - {'name': 'matrix_bridge_beeper_line_homeserver_token', when: true}
  22. - {'name': 'matrix_bridge_beeper_line_database_hostname', when: "{{ matrix_bridge_beeper_line_database_engine == 'postgres' }}"}
  23. - {'name': 'matrix_bridge_beeper_line_container_network', when: true}