mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1381 from joke-lee/master
the $? of pgrep ceph-rest-api command return is 1 when ceph-rest-api is already runpull/1345/head
commit
350d2f88c7
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: check if ceph rest api is already started
|
||||
shell: "pgrep ceph-rest-api"
|
||||
shell: "pgrep -f ceph-rest-api"
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
always_run: true
|
||||
|
|
Loading…
Reference in New Issue