* external become_user set for execute nodejs version manager install for possible launch that playbook without become_user interactions (if setting user on execute ansible starter script)

This commit is contained in:
2024-05-08 17:39:34 +03:00
parent 6186ab94e0
commit b7b67f1c86
3 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,4 @@
hosts: [ 'debian10' ]
tasks:
- name: Install nvm
become: true
become_user: '{{ site_name }}'
shell: 'wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash'