mirror of https://github.com/ceph/ceph-ansible.git
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
parent
7016ab73b3
commit
93a8b69a57
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: check if nmap is installed
|
||||
local_action: command command -v nmap
|
||||
local_action: shell command -v nmap
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
register: nmapexist
|
||||
|
|
Loading…
Reference in New Issue