Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. - name: Test registering output using a test command echo
  2. shell:
  3. echo "{{ item }}"
  4. register:
  5. echo_output
  6. with_items:
  7. - "{{ test_echo_data }}"
  8.  
  9. - name: Copy content of output from echo_output
  10. copy:
  11. content: "{{ echo_output.stdout_lines }}"
  12. dest: output.yml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement