+ sample configs for nginx-proxy lxc instance
+ site_name as general option for different lxc_host and site_name (personally used for vps deployment) + vps deploy script + node version manager install + php version setup vars moved into separate vars-file + ansible.cfg that helps to use local inventory and group_vars files + root account playbook
This commit is contained in:
9
playbooks/own/node-version-manager.yml
Normal file
9
playbooks/own/node-version-manager.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
|
||||
- name: Installing node version manager
|
||||
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'
|
@ -4,4 +4,4 @@
|
||||
hosts: [ 'debian10' ]
|
||||
tasks:
|
||||
- name: Set ownerships to /var/www dir
|
||||
shell: 'chown -R {{ lxc_host }}:{{ lxc_host }} /var/www'
|
||||
shell: 'chown -R {{ site_name }}:{{ site_name }} /var/www'
|
||||
|
Reference in New Issue
Block a user