[readme] Ansible: use ansible_facts.env rather than the deprecated injected ansible_env

Fixes #3784.
This commit is contained in:
ii1818nn authored and Jordan Harband committed 2026-11-20 14:53:54 -08:00
1 parent f6e169b130
commit ea0fcdbe16
1 file changed
+1 -1
+1 -1
View File
@@ -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