mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Variable Validation: improved error messages
This commit is contained in:
parent
9594dd86b0
commit
7252761b8f
5 changed files with 11 additions and 16 deletions
|
@ -17,7 +17,7 @@
|
|||
- name: Assert that "wordpress_enabled | type_debug == 'bool'" (boolean not string etc)
|
||||
assert:
|
||||
that: wordpress_enabled | type_debug == 'bool'
|
||||
fail_msg: "PLEASE GIVE VARIABLE 'wordpress_enabled' A PROPER (UNQUOTED) BOOLEAN VALUE e.g. IN: /etc/iiab/local_vars.yml"
|
||||
fail_msg: "PLEASE GIVE VARIABLE 'wordpress_enabled' A PROPER (UNQUOTED) ANSIBLE BOOLEAN VALUE e.g. IN: /etc/iiab/local_vars.yml"
|
||||
quiet: yes
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue