Merge "Allow triggering ceph-ansible filestore-to-bluestore with ceph_fstobs tag" into stable/train

This commit is contained in:
Zuul 2020-06-16 11:47:05 +00:00 committed by Gerrit Code Review
commit abf6c28cfa
1 changed files with 14 additions and 0 deletions

View File

@ -588,6 +588,7 @@ outputs:
tags:
- ceph
- ceph_systemd
- ceph_fstobs
block:
- name: ensure ceph-ansible is installed
include_role:
@ -655,6 +656,7 @@ outputs:
tags:
- ceph
- ceph_systemd
- ceph_fstobs
block:
- name: set ceph-ansible facts
set_fact:
@ -707,6 +709,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: