mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-11-25 18:23:46 +03:00
[readme] Ansible: use ansible_facts.env rather than the deprecated injected ansible_env
Fixes #3784.
This commit is contained in:
1 parent
f6e169b130
commit
ea0fcdbe16
1 file changed
+1
-1
@@ -263,7 +263,7 @@ You can use a task:
|
||||
ansible.builtin.shell: >
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.41.0/install.sh | bash
|
||||
args:
|
||||
creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"
|
||||
creates: "{{ ansible_facts.env.HOME }}/.nvm/nvm.sh"
|
||||
```
|
||||
|
||||
### Verify Installation
|
||||
|
||||
Reference in new issue
Block a user