Jelajahi Sumber

Correcting nginx config path in validate handler

cmacrae 9 tahun lalu
induk
melakukan
bfa4fe7925
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      handlers/main.yml

+ 1 - 1
handlers/main.yml

@@ -3,5 +3,5 @@
   service: name=nginx state=restarted
 
 - name: validate nginx configuration
-  command: nginx -t -c /etc/nginx.conf
+  command: nginx -t -c /etc/nginx/nginx.conf
   changed_when: False