mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Explanatory Error Msgs in wordpress/tasks/main.yml
This commit is contained in:
parent
40666ad6e9
commit
93bf56dc11
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
- name: Assert that "wordpress_install is sameas true" (boolean not string etc)
|
||||
assert:
|
||||
that: wordpress_install is sameas true
|
||||
fail_msg: "PLEASE SET 'wordpress_install: True' e.g. in: /etc/iiab/local_vars.yml"
|
||||
quiet: yes
|
||||
#that: wordpress_install is defined and wordpress_install is sameas true
|
||||
#success_msg: wordpress_install is defined and wordpress_install is sameas true
|
||||
|
@ -18,6 +19,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"
|
||||
quiet: yes
|
||||
#that: wordpress_enabled is defined and wordpress_enabled | type_debug == 'bool'
|
||||
#success_msg: wordpress_enabled is defined and wordpress_enabled | type_debug == 'bool'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue