From 1b0d66b6ef11b0cb44a56b7a783cdf7ba0705c93 Mon Sep 17 00:00:00 2001 From: Sharif Nassar Date: Sat, 19 Nov 2016 04:52:14 -0800 Subject: [PATCH] ansible-lint - use command module instead (#133) --- handlers/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index fc9725a..676cc7c 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -15,7 +15,7 @@ - reload nginx - after config check - name: check nginx configuration - shell: "{{ nginx_binary_name }} -t" + command: "{{ nginx_binary_name }} -t" register: result changed_when: "result.rc != 0" always_run: yes