Browse Source

Use npm ci for Ansible task

Otherwise Ansible never creates the node_modules directory.
merge-requests/145/head
Andrew Shu 3 years ago
committed by Deimos
parent
commit
996d52b185
  1. 3
      ansible/roles/nodejs/tasks/main.yml

3
ansible/roles/nodejs/tasks/main.yml

@ -18,3 +18,6 @@
# --no-bin-links option is needed to prevent npm from creating symlinks in the .bin
# directory, which doesn't work inside Vagrant on Windows
no_bin_links: true
# npm ci needs to be run, for a clean install, instead of npm install.
# otherwise node_modules is never created/updated (Ansible bug?)
ci: true
Loading…
Cancel
Save