Skip to content

Commit

Permalink
Remove template validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilien Mantel committed Nov 3, 2015
1 parent 6be44c7 commit bee0cb9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
1 change: 0 additions & 1 deletion tasks/vhost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bee0cb9

Please sign in to comment.