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
656 B

  1. # SPDX-FileCopyrightText: 2021 Yannick Goossens
  2. # SPDX-FileCopyrightText: 2022 Slavi Pantaleev
  3. #
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. ---
  6. - name: Fail if there's not at least 1 client
  7. ansible.builtin.fail:
  8. msg: >-
  9. You need at least 1 client in the matrix_bot_go_neb_clients block.
  10. when: matrix_bot_go_neb_clients is not defined or matrix_bot_go_neb_clients[0] is not defined
  11. - name: Fail if there's not at least 1 service
  12. ansible.builtin.fail:
  13. msg: >-
  14. You need at least 1 service in the matrix_bot_go_neb_services block.
  15. when: matrix_bot_go_neb_services is not defined or matrix_bot_go_neb_services[0] is not defined