Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
ansible-lint - use command module instead (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwacky42 authored and jdauphant committed Nov 19, 2016
1 parent 01acc09 commit 1b0d66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b0d66b

Please sign in to comment.