Revert "made example not fail"

This reverts commit 2c9543e0b7.

example won't fail but will prevent correct PATH from being set
using actual fix to deal with this corner case
This commit is contained in:
Brian Coca 2017-04-10 12:16:47 -04:00
parent b4f976e9b9
commit eaaf46a50d

View file

@ -77,7 +77,7 @@ Some language-specific version managers (such as rbenv and nvm) require environm
environment:
NVM_DIR: /var/local/nvm
PATH: /var/local/nvm/versions/node/v4.2.1/bin:{{ (ansible_env|default({})).PATH|default('') }}
PATH: /var/local/nvm/versions/node/v4.2.1/bin:{{ ansible_env.PATH }}
tasks:
- name: check for package.json