diff --git a/roles/ceph-restapi/tasks/start_restapi.yml b/roles/ceph-restapi/tasks/start_restapi.yml index 357c5d7a2..68fd25bd8 100644 --- a/roles/ceph-restapi/tasks/start_restapi.yml +++ b/roles/ceph-restapi/tasks/start_restapi.yml @@ -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