Use the command module in place of the shell module

pull/844/head
Matthew Rees 2016-06-06 11:48:31 +02:00
parent 9bb8c85baf
commit de855fe18a
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
--- ---
- name: check if nmap is installed - name: check if nmap is installed
local_action: shell command -v nmap local_action: command command -v nmap
changed_when: false changed_when: false
failed_when: false failed_when: false
register: nmapexist register: nmapexist