simplify running process check

eventually pidof
pull/270/head
bjne 2015-06-08 18:08:13 +02:00
parent 26dba2eef2
commit ab2fb1856a
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
- include: pre_requisite.yml - include: pre_requisite.yml
- name: check if Ceph REST API is already started - name: check if Ceph REST API is already started
shell: "ps aux|grep [c]eph-rest-api" shell: "pgrep ceph-rest-api"
register: restapi_status register: restapi_status
ignore_errors: True ignore_errors: True