mirror of https://github.com/ceph/ceph-ansible.git
Use the command module in place of the shell module
parent
9bb8c85baf
commit
de855fe18a
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: check if nmap is installed
|
- name: check if nmap is installed
|
||||||
local_action: shell command -v nmap
|
local_action: command command -v nmap
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: nmapexist
|
register: nmapexist
|
||||||
|
|
Loading…
Reference in New Issue