mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-09 04:10:27 -07:00
Validate relative path
validate the relative path ... must begin with /
This commit is contained in:
parent
3a1d9099a7
commit
88935abb62
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,14 @@
|
||||||
quiet: True
|
quiet: True
|
||||||
fail_msg: "The console administrator password is empty or invalid. Please set the keycloak_quarkus_admin_pass variable to a 12+ char long string"
|
fail_msg: "The console administrator password is empty or invalid. Please set the keycloak_quarkus_admin_pass variable to a 12+ char long string"
|
||||||
success_msg: "{{ 'Console administrator password OK' }}"
|
success_msg: "{{ 'Console administrator password OK' }}"
|
||||||
|
|
||||||
|
- name: Validate relative path
|
||||||
|
ansible.builtin.assert:
|
||||||
|
that:
|
||||||
|
- keycloak_quarkus_http_relative_path is regex('^/.*')
|
||||||
|
quiet: True
|
||||||
|
fail_msg: "the relative path must begin with /"
|
||||||
|
success_msg: "{{ 'relative path OK' }}"
|
||||||
|
|
||||||
- name: Validate configuration
|
- name: Validate configuration
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
|
|
Loading…
Add table
Reference in a new issue