From: Shengjing Zhu Date: Wed, 28 Dec 2016 08:21:23 +0000 (+0800) Subject: fix check nmapexist on debian X-Git-Tag: v2.2.0rc1~77^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=93a8b69a5702201dc2db398d8481cc291a385441;p=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 --- 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