From 93a8b69a5702201dc2db398d8481cc291a385441 Mon Sep 17 00:00:00 2001 From: Shengjing Zhu Date: Wed, 28 Dec 2016 16:21:23 +0800 Subject: [PATCH] fix check nmapexist on debian command is a shell-buitin, so `command -v nmap` must use shell module Signed-off-by: Shengjing Zhu --- roles/ceph-common/tasks/checks/check_firewall.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-common/tasks/checks/check_firewall.yml b/roles/ceph-common/tasks/checks/check_firewall.yml index 0d985fa3c..458da0711 100644 --- a/roles/ceph-common/tasks/checks/check_firewall.yml +++ b/roles/ceph-common/tasks/checks/check_firewall.yml @@ -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