After upgrading ansible versions:
ncohen@breathe ~/s/f/fn-ansible (master)> ansible --version
ansible 2.0.1.0
config file = /Users/ncohen/software/face/fn-ansible/ansible.cfg
configured module search path = Default w/o overrides
I'm getting an error on first usage of ansible_env variable
```
- hosts: local
environment:
PATH: "{{ ansible_env.PATH }}:/usr/local/bin"
tasks:
...
```
Error looks like this:
```
PLAY
***************************************************************************
TASK [setup]
*******************************************************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "'ansible_env' is
undefined"}
NO MORE HOSTS LEFT
*************************************************************
to retry, use: --limit @<snip>
PLAY RECAP
*********************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1
```
Anyone have any idea what's going on? This worked on 2.0.0.1 without issue
...
--
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/CABUBibsio9cKH7r8-CR%2Bd8xCJSe0SBC1jFGP2F3L%2B%3DLXCba5dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.