aboutsummaryrefslogtreecommitdiffstats
path: root/roles/gathio/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/gathio/tasks/main.yml')
-rw-r--r--roles/gathio/tasks/main.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/gathio/tasks/main.yml b/roles/gathio/tasks/main.yml
index 17abbcf..4dc532d 100644
--- a/roles/gathio/tasks/main.yml
+++ b/roles/gathio/tasks/main.yml
@@ -60,9 +60,8 @@
- name: install npm dependencies
npm:
- path: '{{ gathio_install_dir }}'
production: yes
- no_optional: no
+ path: '{{ gathio_install_dir }}'
become: yes
become_user: '{{ gathio_user }}'
when: gathio_git.changed