Ensure we only cache the loop when the task had a loop (#44901)

* Further restrict caching of loop when the task actually had a loop. Fixes #44874

* Extend tests for loop caching
This commit is contained in:
Matt Martz
2018-08-30 12:02:43 -05:00
committed by GitHub
parent 6059da245b
commit 9d89e15ff0
3 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- loop - Ensure we only cache the loop when the task had a loop and delegate_to was templated (https://github.com/ansible/ansible/issues/44874)