Merge pull request #1381 from joke-lee/master

the $? of pgrep ceph-rest-api command return is 1 when ceph-rest-api is already run
pull/1345/head
Sébastien Han 2017-03-21 09:53:01 +01:00 committed by GitHub
commit 350d2f88c7
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
--- ---
- name: check if ceph rest api is already started - name: check if ceph rest api is already started
shell: "pgrep ceph-rest-api" shell: "pgrep -f ceph-rest-api"
changed_when: false changed_when: false
failed_when: false failed_when: false
always_run: true always_run: true