Explorar o código

[ANSIBLE0013] Use shell only when shell functionality is required

Jared Ledvina %!s(int64=7) %!d(string=hai) anos
pai
achega
65bdbe82b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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