Change Ansible task to pass ansible-lint checks

This commit is contained in:
Michal Stanke 2021-09-29 08:02:24 +02:00
parent 7bbc57355d
commit 4bba7ea54c

View File

@ -134,8 +134,7 @@ You can use a task:
```yaml
- name: nvm
shell: >
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
shell: bash -c "$(https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh)"
args:
creates: "{{ ansible_env.HOME }}/.nvm/nvm.sh"
```