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.
 
 

19 lines
818 B

  1. # SPDX-FileCopyrightText: 2021 Cody Neiman
  2. # SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
  3. #
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. ---
  6. - name: Fail if required mx-puppet-groupme settings not defined
  7. ansible.builtin.fail:
  8. msg: >-
  9. You need to define a required configuration setting (`{{ item.name }}`).
  10. when: "item.when | bool and vars[item.name] == ''"
  11. with_items:
  12. - {'name': 'matrix_mx_puppet_groupme_appservice_token', when: true}
  13. - {'name': 'matrix_mx_puppet_groupme_homeserver_address', when: true}
  14. - {'name': 'matrix_mx_puppet_groupme_homeserver_token', when: true}
  15. - {'name': 'matrix_mx_puppet_groupme_database_hostname', when: "{{ matrix_mx_puppet_groupme_database_engine == 'postgres' }}"}
  16. - {'name': 'matrix_mx_puppet_groupme_container_network', when: true}