Matrix Docker Ansible eploy
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.
 
 

15 lines
657 B

  1. # SPDX-FileCopyrightText: 2024 Slavi Pantaleev
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. - name: Fail if required matrix-appservice-double-puppet settings not defined
  6. ansible.builtin.fail:
  7. msg: >
  8. You need to define a required configuration setting (`{{ item.name }}`).
  9. when: "item.when | bool and lookup('vars', item.name, default='') | string | length == 0"
  10. with_items:
  11. - {'name': 'matrix_appservice_double_puppet_registration_as_token', when: true}
  12. - {'name': 'matrix_appservice_double_puppet_registration_as_token', when: true}
  13. - {'name': 'matrix_appservice_double_puppet_registration_sender_localpart', when: true}