Commit 457cdb2b by Michael DeHaan

Add note about when you still have to use only_if

parent 2ae090b1
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
# #
# when using 'when', take care to make sure any variables given are surrounded by spaces # when using 'when', take care to make sure any variables given are surrounded by spaces
# as an example, $z>3 will not do what you want, use "$z > 3" # as an example, $z>3 will not do what you want, use "$z > 3"
#
# note, if you are doing comparisons to variables that are stored as hashes or lists,
# you will need to use the older 'only_if', which is more free form.
# see conditionals_part_3.yml
tasks: tasks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment