ansible/roles/codimd/handlers/main.yml

15 lines
365 B
YAML
Raw Normal View History

2019-02-09 08:45:16 +01:00
---
# Build front-end bundle
2019-03-04 16:04:36 +01:00
# This can take very long and requires > 2GB of RAM
2019-02-09 08:45:16 +01:00
- name: Build front-end for CodiMD
2019-03-04 16:04:36 +01:00
command: NODE_ENV="production" yarn run build
2019-02-09 08:45:16 +01:00
args:
chdir: /var/local/codimd/codimd
2019-03-03 09:16:52 +01:00
become: true
2019-02-09 08:45:16 +01:00
become_user: codimd
2019-02-09 10:02:53 +01:00
# Reload systemd daemons when a service file changes
- name: Reload systemd daemons
systemd:
daemon_reload: true