From b1c13223579a034db5a4ab47460a4eac0a38b1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 16 Nov 2017 14:57:49 +0100 Subject: [PATCH] osd: remove failed_when on activation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no need to continue if the activation fails. Signed-off-by: Sébastien Han --- roles/ceph-osd/tasks/activate_osds.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/roles/ceph-osd/tasks/activate_osds.yml b/roles/ceph-osd/tasks/activate_osds.yml index 13ea874e2..41898d678 100644 --- a/roles/ceph-osd/tasks/activate_osds.yml +++ b/roles/ceph-osd/tasks/activate_osds.yml @@ -7,7 +7,6 @@ with_items: - "{{ devices|unique }}" changed_when: false - failed_when: false register: activate_osd_disk when: - not osd_auto_discovery @@ -18,7 +17,6 @@ with_items: - "{{ devices|unique }}" changed_when: false - failed_when: false register: activate_osd_disk_dmcrypt when: - not osd_auto_discovery @@ -43,7 +41,6 @@ with_items: - "{{ devices|unique }}" changed_when: false - failed_when: false when: - not osd_auto_discovery - not dmcrypt