Matt, thank you!
I took what you gave me and finished off with this, which gives me what I
need.
- name: Write error log
lineinfile:
line: "{{ item.ErrorMessage }}"
path: /tmp/errors.txt
insertafter: EOF
delegate_to: localhost
loop: "{{ errors.list }}"
This ends up writing each line of the CSV (ErrorMessage) to a file. I can
work with that. Thanks again!
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/61c00b28-cfc8-4f0b-bd22-a1c77e59999c%40googlegroups.com.