made example not fail

fixes 
This commit is contained in:
Brian Coca 2017-03-31 15:43:26 -04:00
parent 2196fa0e95
commit 2c9543e0b7

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.PATH }}
PATH: /var/local/nvm/versions/node/v4.2.1/bin:{{ (ansible_env|default({})).PATH|default('') }}
tasks:
- name: check for package.json