From 43ba28457d97a7662da3385135763ab343eb3aca Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 21 Dec 2018 21:26:46 -0500 Subject: [PATCH] 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 --- tasks/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/config.yaml b/tasks/config.yaml index 6884a79..dd95d50 100644 --- a/tasks/config.yaml +++ b/tasks/config.yaml @@ -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