Fix some bugs about ansible deployment
[stor4nfv.git] / ci / ansible / roles / osdsdock / scenarios / ceph.yml
index f5ea8ef..16aca67 100644 (file)
   with_items:\r
     - ceph-common\r
 \r
+- name: install notario package with pip when ceph backend enabled\r
+  pip:\r
+    name: "{{ item }}"\r
+  with_items:\r
+    - notario\r
+\r
 - name: configure ceph section in opensds global info if specify ceph backend\r
   shell: |\r
     cat >> opensds.conf <<OPENSDS_GLOABL_CONFIG_DOC\r
 \r
 - name: check if ceph osd is running\r
   shell: ps aux | grep ceph-osd | grep -v grep\r
-  ignore_errors: false\r
+  ignore_errors: true\r
   changed_when: false\r
   register: service_ceph_osd_status\r
 \r
 - name: check if ceph mon is running\r
   shell: ps aux | grep ceph-mon | grep -v grep\r
-  ignore_errors: false\r
+  ignore_errors: true\r
   changed_when: false\r
   register: service_ceph_mon_status\r
 \r