|
|
|
@ -324,14 +324,14 @@ outputs:
|
|
|
|
|
- name: Set fact cinder_backup_pcs_res |
|
|
|
|
set_fact: |
|
|
|
|
cinder_backup_pcs_res: "{{cinder_backup_pcs_res_result|succeeded}}" |
|
|
|
|
- name: set is_bootstrap_node fact |
|
|
|
|
tags: common |
|
|
|
|
set_fact: is_bootstrap_node={{cinder_backup_short_bootstrap_node_name|lower == ansible_hostname|lower}} |
|
|
|
|
- name: Cinder-Backup baremetal to container upgrade tasks |
|
|
|
|
when: |
|
|
|
|
- step|int == 1 |
|
|
|
|
- not cinder_backup_containerized|bool |
|
|
|
|
block: |
|
|
|
|
- name: set is_bootstrap_node fact |
|
|
|
|
tags: common |
|
|
|
|
set_fact: is_bootstrap_node={{cinder_backup_short_bootstrap_node_name|lower == ansible_hostname|lower}} |
|
|
|
|
- name: Check cluster resource status |
|
|
|
|
pacemaker_resource: |
|
|
|
|
resource: openstack-cinder-backup |
|
|
|
|