fix template validation
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-07-18 09:11:33 +02:00
parent 30e3b7859e
commit f7710f2fe4

View File

@ -73,7 +73,7 @@
owner: root
group: root
mode: 0640
validate: bash -c '/sbin/nginx -t -c /dev/stdin <<< "events {worker_connections 1;} http { include %s; }"'
validate: /bin/bash -c 'nginx -t -c /dev/stdin <<< "events {worker_connections 1;} http { include %s; }"'
notify: __nginx_reload
- name: Open ports in iptables
@ -122,7 +122,7 @@
owner: root
group: root
mode: 0640
validate: /sbin/nginx -t -c %s
validate: /bin/bash -c 'nginx -t -c /dev/stdin <<< "events {worker_connections 1;} http { include %s; }"'
loop: "{{ nginx_vhosts_default + nginx_vhosts_extra }}"
loop_control:
label: "{{ item.file }}"