fix check nmapexist on debian

command is a shell-buitin, so `command -v nmap` must use shell module

Signed-off-by: Shengjing Zhu <zsj950618@gmail.com>
pull/1209/head
Shengjing Zhu 2016-12-28 16:21:23 +08:00
parent 7016ab73b3
commit 93a8b69a57
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: command command -v nmap local_action: shell command -v nmap
changed_when: false changed_when: false
failed_when: false failed_when: false
register: nmapexist register: nmapexist