]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
osd: skip some set_fact when osd_scenario=lvm 2144/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Nov 2017 14:30:08 +0000 (15:30 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Nov 2017 14:30:08 +0000 (15:30 +0100)
these tasks are not needed when using `osd_scenario: lvm`

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509230
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-defaults/tasks/facts.yml

index 524b7967275815d1cc5659ed703e3065f869dfb7..ee6cfaa80c75c05056c1955e8c18c9f9124fd886 100644 (file)
   when:
     - inventory_hostname in groups.get(osd_group_name, [])
     - not osd_auto_discovery|default(False)
+    - osd_scenario != 'lvm'
 
 - name: set_fact build devices from resolved symlinks
   set_fact:
   when:
     - inventory_hostname in groups.get(osd_group_name, [])
     - not osd_auto_discovery|default(False)
+    - osd_scenario != 'lvm'
 
 - name: set_fact build final devices list
   set_fact:
   when:
     - inventory_hostname in groups.get(osd_group_name, [])
     - not osd_auto_discovery|default(False)
+    - osd_scenario != 'lvm'