]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-osd: add prepare_osd tag to lvm-batch scenario
authorMatthew Vernon <mv3@sanger.ac.uk>
Wed, 10 Mar 2021 16:36:52 +0000 (16:36 +0000)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 12 Mar 2021 14:44:32 +0000 (15:44 +0100)
Sometimes it's useful to be able to skip the OSD creation step when
running ceph-ansible (cf #1777). The lvm scenario has a prepare_osd
tag on the relevant play. This commit adds the same tag to the
lvm-batch scenario.

Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
(cherry picked from commit 88d119e95a58b3963be7759ea08efe56131d37aa)

roles/ceph-osd/tasks/scenarios/lvm-batch.yml

index 0649c654fb6999911ea95a48afa7f1406cc5d5d4..c5508958c057a2c4334d4e3d9f1ce9c3586c3fb2 100644 (file)
@@ -20,3 +20,4 @@
     CEPH_CONTAINER_BINARY: "{{ container_binary }}"
     PYTHONIOENCODING: utf-8
   when: _devices | default([]) | length > 0
+  tags: prepare_osd