Commit Graph

10 Commits (d7b516f75dc879ad350b285e7ddc398418bf85fd)

Author SHA1 Message Date
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.
9 years ago
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.
9 years ago
James Cammarata b520d5bc60 Lots of fixes for integration test bugs 9 years ago
Brian Coca 0ce5d2c846 added complex bare templated conditional test 10 years ago
Toshio Kuratomi 1eb3124999 Make test for skipping agree with the way current output formats a skip 10 years ago
Brian Coca 446cba6509 fixed integration test as with_items always returns a list, even if
empty
10 years ago
James Cammarata fe5a7bcabf Fixing bad variable naming choices 10 years ago
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.
10 years ago
James Cammarata a571fd4efe Convert boolean strings from set_fact to proper boolean values
Also adds integration tests for booleanification of strings

Fixes #8629
10 years ago
Michael DeHaan 2177b773c8 Rename tests to test, use old directory name. 11 years ago