Fix ansible-lint 4.0.0 failures

With latest release of ansible-lint, our playbooks are not happy any
more.

Change-Id: I5ef7cba59410c75c1b9e682c8482c9119f3768e8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-12-21 21:26:46 -05:00
parent 897a4c86b7
commit 43ba28457d
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
copy:
dest: "{{ nginx_file_nginx_conf_dest }}"
src: "{{ nginx_file_nginx_conf_src }}"
when: nginx_file_nginx_conf_src != ""
when: nginx_file_nginx_conf_src
notify:
- Validate nginx
- Restart nginx
@ -28,7 +28,7 @@
mode: "{{ nginx_file_include_dir_mode }}"
owner: "{{ nginx_file_include_dir_owner }}"
src: "{{ nginx_file_include_dir_src }}"
when: nginx_file_include_dir_src != ""
when: nginx_file_include_dir_src
notify:
- Validate nginx
- Restart nginx