matrix-docker-ansible-deploy/roles/custom/matrix-bot-go-neb/tasks/validate_config.yml

14 lines
513 B
YAML
Raw Normal View History

2021-03-11 18:23:01 +00:00
---
- name: Fail if there's not at least 1 client
ansible.builtin.fail:
2021-03-11 18:23:01 +00:00
msg: >-
You need at least 1 client in the matrix_bot_go_neb_clients block.
when: matrix_bot_go_neb_clients is not defined or matrix_bot_go_neb_clients[0] is not defined
- name: Fail if there's not at least 1 service
ansible.builtin.fail:
2021-03-11 18:23:01 +00:00
msg: >-
You need at least 1 service in the matrix_bot_go_neb_services block.
when: matrix_bot_go_neb_services is not defined or matrix_bot_go_neb_services[0] is not defined