:-) That *was* a bad test!! This looks better:
- name: check env vars
command: env
environment: "{{wlst_env}}"
register: env_out
- debug: var=env_out
That shows the environment I was looking for, so I guess it was the
quoted-curlies - i.e, "{{ wlst_env }}" - I needed! Thanks a lot!!
On Tue, Nov 3, 2015 at 11:58 AM, Brian Coca <[email protected]> wrote:
> Bad test:
> - lookup checks the env on the 'local' host not the target
> - environment affects tasks, not lookups
> - debug does not use an execution shell so environment is useless on it
>
> --
> Brian Coca
>
> --
> 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/CAJ5XC8nn-LO4rELeJ5_zbhGeadUETzCkJSNtwaQCKmvR3oXn%3Dw%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CABnTgtU2dgEwEFZZWPPUb2GBemmKTGLDSG55On18%3DkdSwJckjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.