Created
May 5, 2017 09:40
-
-
Save vignesh-v3/2f44c1c54a01ae1752c639f7cd840b7e to your computer and use it in GitHub Desktop.
loop_var
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: docker | |
tasks: | |
- command: "echo {{ item }}" | |
register: result | |
with_items: | |
- 1dag | |
- 2 | |
- 3 | |
- debug: | |
var: result | |
loop_control: | |
loop_var: outer_item |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment