diff options
author | Matt Martz <matt@sivel.net> | 2019-03-26 11:07:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-26 11:07:54 -0500 |
commit | 6996926d89db27f33d53652e6bf10c55766be1f6 (patch) | |
tree | 244b9a6ebf82e13ff428cc59c60245c531e2bcc3 /test/integration/targets/assert | |
parent | a5a7c7cb8076dd50acf54ff441a8835d2bd3d0f3 (diff) | |
download | ansible-6996926d89db27f33d53652e6bf10c55766be1f6.tar.gz |
Expose loop_control.loop_var as ansible_loop_var (#54240)
* Expose the loop_var as ansible_loop_var
* Add docs
* fix assert test
* Indicate version added
Diffstat (limited to 'test/integration/targets/assert')
-rw-r--r-- | test/integration/targets/assert/assert_quiet.out.quiet.stdout | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/targets/assert/assert_quiet.out.quiet.stdout b/test/integration/targets/assert/assert_quiet.out.quiet.stdout index 65b82a6f28..b62aac6cd9 100644 --- a/test/integration/targets/assert/assert_quiet.out.quiet.stdout +++ b/test/integration/targets/assert/assert_quiet.out.quiet.stdout @@ -6,6 +6,7 @@ ok: [localhost] => (item=item_A) TASK [assert] ****************************************************************** ok: [localhost] => (item=item_A) => { + "ansible_loop_var": "item", "changed": false, "item": "item_A", "msg": "All assertions passed" |