Merge pull request #912 from font/check_cluster

Fix to check if cluster is running
pull/914/head
Leseb 2016-07-29 10:46:52 +02:00 committed by GitHub
commit 7c745cba92
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
--- ---
- name: check if a cluster is already running - name: check if a cluster is already running
shell: "docker ps | grep -sq 'ceph/daemon'" shell: "docker ps | grep -sq '{{ceph_mds_docker_username}}/{{ceph_mds_docker_imagename}}:{{ceph_mds_docker_image_tag}}'"
register: ceph_health register: ceph_health
changed_when: false changed_when: false
failed_when: false failed_when: false

View File

@ -1,6 +1,6 @@
--- ---
- name: check if a cluster is already running - name: check if a cluster is already running
shell: "docker ps | grep -sq 'ceph/daemon'" shell: "docker ps | grep -sq '{{ceph_osd_docker_username}}/{{ceph_osd_docker_imagename}}:{{ceph_osd_docker_image_tag}}'"
register: ceph_health register: ceph_health
changed_when: false changed_when: false
failed_when: false failed_when: false

View File

@ -1,6 +1,6 @@
--- ---
- name: check if a cluster is already running - name: check if a cluster is already running
shell: "docker ps | grep -sq 'ceph/daemon'" shell: "docker ps | grep -sq '{{ceph_rbd_mirror_docker_username}}/{{ceph_rbd_mirror_docker_imagename}}:{{ceph_rbd_mirror_docker_image_tag}}'"
register: ceph_health register: ceph_health
changed_when: false changed_when: false
failed_when: false failed_when: false

View File

@ -1,6 +1,6 @@
--- ---
- name: check if a cluster is already running - name: check if a cluster is already running
shell: "docker ps | grep -sq 'ceph/daemon'" shell: "docker ps | grep -sq '{{ceph_rgw_docker_username}}/{{ceph_rgw_docker_imagename}}:{{ceph_rgw_docker_image_tag}}'"
register: ceph_health register: ceph_health
changed_when: false changed_when: false
failed_when: false failed_when: false