]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
fix check nmapexist on debian 1209/head
authorShengjing Zhu <zsj950618@gmail.com>
Wed, 28 Dec 2016 08:21:23 +0000 (16:21 +0800)
committerShengjing Zhu <zsj950618@gmail.com>
Wed, 28 Dec 2016 08:21:23 +0000 (16:21 +0800)
command is a shell-buitin, so `command -v nmap` must use shell module

Signed-off-by: Shengjing Zhu <zsj950618@gmail.com>
roles/ceph-common/tasks/checks/check_firewall.yml

index 0d985fa3c7ae8d3a7652d12ef1f8dc35c2c821d1..458da0711591a234b3a5cb2c0198b9c6af7253da 100644 (file)
@@ -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