* 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:
@ -9,6 +9,8 @@
|
||||
- import_playbook: debops/redis.yml
|
||||
- import_playbook: own/var-www-set-ownerships.yml
|
||||
- import_playbook: own/node-version-manager.yml
|
||||
become: true
|
||||
become_user: '{{ site_name }}'
|
||||
- import_playbook: own/nginx-auth.yml
|
||||
- import_playbook: own/phpmyadmin.yml
|
||||
- import_playbook: own/phpmyadmin-nginx-auth.yml
|
||||
|
@ -7,6 +7,8 @@
|
||||
- import_playbook: debops/redis.yml
|
||||
- import_playbook: own/var-www-set-ownerships.yml
|
||||
- import_playbook: own/node-version-manager.yml
|
||||
become: true
|
||||
become_user: '{{ site_name }}'
|
||||
- import_playbook: own/nginx-auth.yml
|
||||
- import_playbook: own/correct-paths-for-pct-enter.yml
|
||||
|
||||
|
@ -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'
|
||||
|
Reference in New Issue
Block a user