4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-14 13:16:37 +00:00

Further minor refinements to Ansible static asset building.

This commit is contained in:
Buster "Silver Eagle" Neece 2020-06-09 01:59:12 -05:00
parent 162170c866
commit abba7af8e5
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E

View File

@ -2,6 +2,7 @@
- name: Install NodeJS and NPM
shell: curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n && bash n lts
args:
warn: false
chdir: "/tmp"
- name: Set permissions for folders
@ -24,3 +25,8 @@
shell: npm run build
args:
chdir: "{{ www_base }}/frontend"
- name: Set permissions of generated frontend content
file: path="{{ item }}" state=directory recurse=yes owner=azuracast group=www-data
with_items:
- "{{ www_base }}/web/static/dist"