diff --git a/deployment/ceph-ansible/ceph-base.yaml b/deployment/ceph-ansible/ceph-base.yaml index b0d987ad62..373fd1a8ff 100644 --- a/deployment/ceph-ansible/ceph-base.yaml +++ b/deployment/ceph-ansible/ceph-base.yaml @@ -565,6 +565,7 @@ outputs: tags: - ceph - ceph_systemd + - ceph_fstobs block: - name: ensure ceph-ansible is installed include_role: @@ -632,6 +633,7 @@ outputs: tags: - ceph - ceph_systemd + - ceph_fstobs block: - name: set ceph-ansible facts set_fact: @@ -684,6 +686,18 @@ outputs: - name: set ceph_ansible_playbooks_default set_fact: ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/docker-to-podman.yml"] + - when: step|int == 0 + tags: + - never + - ceph_fstobs + block: + - name: stop if _limit is unset + fail: + msg: The ceph-ansible filestore to bluestore playbook limit is not set; please use -e ceph_ansible_limit=##nodename## + when: (ceph_ansible_limit is not defined) or (ceph_ansible_limit|length == 0) + - name: set ceph_ansible_playbooks_default + set_fact: + ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/filestore-to-bluestore.yml"] - when: step|int == 0 tags: ceph block: