Remove template validation

pull/14/head
Emilien Mantel 2015-11-03 14:54:35 +01:00
parent 6be44c7da8
commit bee0cb9a66
2 changed files with 0 additions and 3 deletions

View File

@ -15,7 +15,6 @@
template: >
src=etc/nginx/nginx.conf.j2
dest=/etc/nginx/nginx.conf
validate= "nginx -t"
notify: reload nginx
- name: FILE | Create /etc/nginx/helpers
@ -33,7 +32,6 @@
template: >
src={{ item }}
dest=/etc/nginx/helpers/{{ item | basename | regex_replace('\.j2$','') }}
validate= "nginx -t"
with_fileglob: '../templates/etc/nginx/helpers/*.j2'
notify: reload nginx

View File

@ -14,7 +14,6 @@
template: >
src=etc/nginx/sites-available/{{ item.template }}.j2
dest=/etc/nginx/sites-available/{{ item.name if item.name is string else item.name[0] }}
validate='nginx -t'
with_items: nginx_vhosts
notify: reload nginx
when: item.delete is not defined or not item.delete