ansible/roles/codimd/handlers/main.yml
Hadrien Patte 5c5195cc2c
Fix: use systemd instead of command module
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-03 19:32:42 +01:00

13 lines
290 B
YAML

---
# Build front-end bundle
- name: Build front-end for CodiMD
command: npm run build
args:
chdir: /var/local/codimd/codimd
become: true
become_user: codimd
# Reload systemd daemons when a service file changes
- name: Reload systemd daemons
systemd:
daemon_reload: true