mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-15 12:43:12 +01:00
Fixed assertion block to remove jinja2 delimiters
This commit is contained in:
parent
fc6357a089
commit
350d4d4bcd
@ -21,7 +21,7 @@
|
||||
- name: Validate that the Element Call hostname is properly formatted
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- "'{{ matrix_element_call_hostname }}' is match('^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9])$')"
|
||||
- matrix_element_call_hostname is match('^([a-zA-Z0-9][-a-zA-Z0-9]*[a-zA-Z0-9])$')
|
||||
fail_msg: "The hostname '{{ matrix_element_call_hostname }}' is not valid. It should be a valid domain or subdomain."
|
||||
success_msg: "The hostname '{{ matrix_element_call_hostname }}' is valid."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user