To add to that, I understand I can use something similar to the following
to access a single value:
---
- hosts: all
tasks:
- name: Export environment variable
shell: /usr/local/bin/blackbox && env | grep ^ANIMAL
register: output
But the real scenario is that I may have 5-10 environment variables
generated from blackbox and I am looking for a structured way to access
them.
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f200717b-1bbf-435c-bbaa-9af058e8d24c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.