26a7d90555
This change adjusts the fast forward upgrade workflow to use the Openstack CLI commands instead of running manual ansible commands. Change-Id: I345500444ed47d631593d96e4a192e179e4bb326
28 lines
846 B
YAML
28 lines
846 B
YAML
---
|
|
- name: create FFU role ugrades scripts
|
|
template:
|
|
src: fast-forward-upgrade/overcloud_upgrade_role.sh.j2
|
|
dest: "{{ working_dir }}/overcloud_upgrade_{{ item }}.sh"
|
|
mode: 0775
|
|
tags: ffu_overcloud_upgrade
|
|
with_items:
|
|
- "all"
|
|
|
|
- name: apply pre overcloud upgrade run workarounds
|
|
command: "{{working_dir}}/pre_ffu_overcloud_upgrade_workarounds.sh"
|
|
when: ffu_upgrade_workarounds|bool
|
|
tags: ffu_overcloud_upgrade
|
|
|
|
- include: ../common/l3_agent_connectivity_check_start_script.yml
|
|
tags: ffu_overcloud_upgrade
|
|
|
|
- name: run all roles upgrade steps
|
|
command: "{{working_dir}}//overcloud_upgrade_all.sh"
|
|
tags: ffu_overcloud_upgrade
|
|
|
|
- include: "{{ item }}"
|
|
with_items:
|
|
- '../common/l3_agent_connectivity_check_stop_script.yml'
|
|
- '../common/l3_agent_failover_check_post_script.yml'
|
|
tags: ffu_overcloud_upgrade
|