Skip to content

Instantly share code, notes, and snippets.

@IPvSean
Created November 17, 2020 18:11
Show Gist options
  • Save IPvSean/44ccc1d83ac58bcab7c1ccc9b8270a35 to your computer and use it in GitHub Desktop.
Save IPvSean/44ccc1d83ac58bcab7c1ccc9b8270a35 to your computer and use it in GitHub Desktop.
- name: save stdout var instead
local_action: copy content="{{dot115}}.{{item}}.stdout" dest="./wlc.txt"
loop: "{{myvar}}"
versus
- name: save stdout var instead
local_action: copy content="{{dot115[item].stdout}}" dest="./wlc.txt"
loop: "{{myvar}}"
then if you need a join do it on the stdout?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment