From eaaf46a50d7cade1f522fca0a9c2db84d549e6eb Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 10 Apr 2017 12:16:47 -0400 Subject: [PATCH] Revert "made example not fail" This reverts commit 2c9543e0b717d25fbe00b6085636941dda83d7a4. example won't fail but will prevent correct PATH from being set using actual fix to deal with this corner case --- docs/docsite/rst/playbooks_environment.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/playbooks_environment.rst b/docs/docsite/rst/playbooks_environment.rst index 76fc530aa9aaa9..0dba163869e716 100644 --- a/docs/docsite/rst/playbooks_environment.rst +++ b/docs/docsite/rst/playbooks_environment.rst @@ -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