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:
parent
897a4c86b7
commit
43ba28457d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user