Merge "Add cephadm_adopt tag to the ceph related upgrade tasks" into stable/wallaby
This commit is contained in:
commit
c4efe5ec07
|
@ -576,8 +576,7 @@ outputs:
|
|||
when: step|int == 1
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_systemd
|
||||
- ceph_fstobs
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: ensure ceph-ansible is installed
|
||||
include_role:
|
||||
|
@ -671,8 +670,7 @@ outputs:
|
|||
when: step|int == 2
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_systemd
|
||||
- ceph_fstobs
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: set ceph-ansible facts
|
||||
set_fact:
|
||||
|
@ -743,24 +741,8 @@ outputs:
|
|||
- when: step|int == 0
|
||||
tags:
|
||||
- never
|
||||
- ceph_systemd
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: stop if _limit is unset
|
||||
fail:
|
||||
msg: The ceph-ansible systemd units migration 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/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: ensure ceph health is OK before proceeding
|
||||
import_role:
|
||||
role: ceph
|
||||
|
@ -774,7 +756,14 @@ outputs:
|
|||
- ceph_health
|
||||
- name: set ceph_ansible_playbooks_default
|
||||
set_fact:
|
||||
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/filestore-to-bluestore.yml"]
|
||||
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/cephadm-adopt.yml"]
|
||||
- name: Skip the nfs cephadm-adopt section
|
||||
set_fact:
|
||||
ceph_ansible_skip_tags:
|
||||
list_join:
|
||||
- ','
|
||||
- - get_param: CephAnsibleSkipTags
|
||||
- 'ceph_nfs_adopt'
|
||||
- when: step|int == 0
|
||||
tags: ceph
|
||||
block:
|
||||
|
|
|
@ -53,8 +53,7 @@ outputs:
|
|||
when: step|int == 1
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_fstobs
|
||||
- ceph_systemd
|
||||
- cephamd_adopt
|
||||
block:
|
||||
- name: set ceph-ansible group vars clients
|
||||
set_fact:
|
||||
|
|
|
@ -58,8 +58,7 @@ outputs:
|
|||
when: step|int == 1
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_fstobs
|
||||
- ceph_systemd
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: set ceph-ansible group vars clients
|
||||
set_fact:
|
||||
|
|
|
@ -125,8 +125,7 @@ outputs:
|
|||
when: step == '1'
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_fstobs
|
||||
- ceph_systemd
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: set ceph-ansible group vars
|
||||
set_fact:
|
||||
|
|
|
@ -67,8 +67,7 @@ outputs:
|
|||
when: step|int == 1
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_fstobs
|
||||
- ceph_systemd
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: set ceph-ansible group vars mdss
|
||||
set_fact:
|
||||
|
|
|
@ -118,8 +118,7 @@ outputs:
|
|||
when: step|int == 1
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_fstobs
|
||||
- ceph_systemd
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: set ceph-ansible group vars mgrs
|
||||
set_fact:
|
||||
|
|
|
@ -89,8 +89,7 @@ outputs:
|
|||
when: step|int == 1
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_fstobs
|
||||
- ceph_systemd
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: set ceph-ansible group vars mons
|
||||
set_fact:
|
||||
|
|
|
@ -112,8 +112,7 @@ outputs:
|
|||
when: step|int == 1
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_fstobs
|
||||
- ceph_systemd
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: set ceph-ansible group vars nfss
|
||||
set_fact:
|
||||
|
|
|
@ -123,8 +123,7 @@ outputs:
|
|||
when: step|int == 1
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_fstobs
|
||||
- ceph_systemd
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: set ceph-ansible group vars osds
|
||||
set_fact:
|
||||
|
|
|
@ -80,8 +80,7 @@ outputs:
|
|||
when: step|int == 1
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_fstobs
|
||||
- ceph_systemd
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: set ceph-ansible group vars rbdmirrors
|
||||
set_fact:
|
||||
|
|
|
@ -120,8 +120,7 @@ outputs:
|
|||
when: step|int == 1
|
||||
tags:
|
||||
- ceph
|
||||
- ceph_fstobs
|
||||
- ceph_systemd
|
||||
- cephadm_adopt
|
||||
block:
|
||||
- name: set ceph-ansible group vars rgws
|
||||
set_fact:
|
||||
|
|
Loading…
Reference in New Issue