ansible/roles/codimd/handlers/main.yml
Alexandre IOOSS 1a4e41d318 Merge branch 'master' into 'ansible-lint'
# Conflicts:
#   roles/codimd/tasks/0_apt_dependencies.yml
2019-03-11 15:00:11 +01:00

14 lines
365 B
YAML

---
# Build front-end bundle
# This can take very long and requires > 2GB of RAM
- name: Build front-end for CodiMD
command: NODE_ENV="production" yarn 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