Commit 20d7272b authored by Andre Blanke's avatar Andre Blanke
Browse files

Build frontend and copy to /srv/httpd/

parent 971d90d9
......@@ -2,6 +2,11 @@
- hosts: all
become: yes
tasks:
- name: Ensure system is up to date
community.general.pacman:
update_cache: yes
upgrade: yes
- name: Install base-devel
package:
name: base-devel
......@@ -31,6 +36,23 @@
name: apache
state: present
- name: Install npm
package:
name: npm
state: present
- name: Install Angular
npm:
name: "@angular/cli@11.1.2"
global: yes
state: present
- name: Build frontend
shell:
chdir: /vagrant/frontend/
cmd: ng build
- name: Copy frontend to webroot
shell:
cmd: cp -r /vagrant/frontend/dist/frontend/. /srv/http/
- name: Install CockroachDB
become_user: aur_builder
aur:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment