Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Test registering output using a test command echo
- shell:
- echo "{{ item }}"
- register:
- echo_output
- with_items:
- - "{{ test_echo_data }}"
- - name: Copy content of output from echo_output
- copy:
- content: "{{ echo_output.stdout_lines }}"
- dest: output.yml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement