Merge "Introduce proper steps to external update/upgrade tasks"
This commit is contained in:
commit
94943cfff9
@ -16,10 +16,10 @@
|
||||
# primary role is: {{primary_role_name}}
|
||||
{% set deploy_steps_max = 6 -%}
|
||||
{% set update_steps_max = 6 -%}
|
||||
{% set external_update_steps_max = 1 -%}
|
||||
{% set external_update_steps_max = 2 -%}
|
||||
{% set pre_upgrade_rolling_steps_max = 1 -%}
|
||||
{% set upgrade_steps_max = 6 -%}
|
||||
{% set external_upgrade_steps_max = 1 -%}
|
||||
{% set external_upgrade_steps_max = 2 -%}
|
||||
{% set post_upgrade_steps_max = 4 -%}
|
||||
{% set fast_forward_upgrade_steps_max = 9 -%}
|
||||
{% set fast_forward_upgrade_prep_steps_max = 3 -%}
|
||||
|
@ -594,12 +594,16 @@ outputs:
|
||||
curl_put_http_status.stdout == "201")
|
||||
when: local_ceph_ansible_fetch_directory_backup == ""
|
||||
external_update_tasks:
|
||||
- name: set ceph_ansible_playbooks_default
|
||||
- when: step|int == 0
|
||||
tags: ceph
|
||||
set_fact:
|
||||
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml"]
|
||||
block:
|
||||
- name: set ceph_ansible_playbooks_default
|
||||
set_fact:
|
||||
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml"]
|
||||
external_upgrade_tasks:
|
||||
- name: set ceph_ansible_playbooks_default
|
||||
- when: step|int == 0
|
||||
tags: ceph
|
||||
set_fact:
|
||||
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml"]
|
||||
block:
|
||||
- name: set ceph_ansible_playbooks_default
|
||||
set_fact:
|
||||
ceph_ansible_playbooks_default: ["/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml"]
|
||||
|
@ -462,7 +462,9 @@ outputs:
|
||||
exit ${PIPESTATUS[0]}
|
||||
|
||||
external_upgrade_tasks:
|
||||
- name: set OpenShift upgrade facts
|
||||
- when: step|int == 0
|
||||
tags: openshift
|
||||
set_fact:
|
||||
openshift_upgrade: true
|
||||
block:
|
||||
- name: set OpenShift upgrade facts
|
||||
set_fact:
|
||||
openshift_upgrade: true
|
||||
|
Loading…
Reference in New Issue
Block a user