Michael Scherer
106e942faa
Document and test 'is undefined' rather than 'is not defined'
...
According to https://github.com/ansible/ansible/issues/10273 ,
this syntax should work better for nested dicts.
2015-07-25 14:05:27 +02:00
James Cammarata
dca36c1d16
Reestablishing the use of tags/when for role duplication detection
...
Not figuring these in can cause problems with "diamond" pattern relationships,
even though this is still not quite optimal.
2015-07-20 14:37:20 -04:00
James Cammarata
b520d5bc60
Lots of fixes for integration test bugs
2015-07-10 01:53:59 -04:00
Brian Coca
0ce5d2c846
added complex bare templated conditional test
2014-12-10 09:21:49 -05:00
Toshio Kuratomi
1eb3124999
Make test for skipping agree with the way current output formats a skip
2014-12-04 10:53:48 -08:00
Brian Coca
446cba6509
fixed integration test as with_items always returns a list, even if
...
empty
2014-12-04 12:30:18 -05:00
James Cammarata
fe5a7bcabf
Fixing bad variable naming choices
2014-10-10 12:45:33 -05:00
James Cammarata
2eda9a3a47
Fixing item loop when undefined variable errors occur because of missing attributes
...
Fixes a case where the variable 'foo' may exist, but the with_items loop
was used on something like 'foo.results', where 'results' was not a valid
attribute of 'foo'. Prior to this patch, conditionals were not evaluated
until later, meaning there was no opportunity to allow a test to skip the
task or item based on it being undefined.
2014-10-10 12:26:04 -05:00
James Cammarata
a571fd4efe
Convert boolean strings from set_fact to proper boolean values
...
Also adds integration tests for booleanification of strings
Fixes #8629
2014-09-10 09:56:39 -05:00
Michael DeHaan
2177b773c8
Rename tests to test, use old directory name.
2014-02-20 19:11:15 -05:00