Просмотр исходного кода

[ANSIBLE0013] Use shell only when shell functionality is required

Jared Ledvina 7 лет назад
Родитель
Сommit
65bdbe82b7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      handlers/main.yml

+ 1 - 1
handlers/main.yml

@@ -59,7 +59,7 @@
   command: /usr/sbin/svccfg import /opt/local/lib/svc/manifest/uchiwa.xml
 
 - name: Build and deploy Uchiwa
-  shell: npm install --production
+  command: npm install --production
   args:
     chdir: "{{ uchiwa_path }}/go/src/github.com/sensu/uchiwa"
   become: true