Merge "Make sure deploy_steps_max is defined for update playbook"
This commit is contained in:
commit
541adb47d1
@ -504,8 +504,22 @@ outputs:
|
|||||||
when: role_name == '{{role.name}}'
|
when: role_name == '{{role.name}}'
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
update_steps_playbook: |
|
update_steps_playbook: |
|
||||||
|
- hosts: undercloud
|
||||||
|
name: Gather facts undercloud
|
||||||
|
gather_facts: yes
|
||||||
|
become: false
|
||||||
- hosts: overcloud
|
- hosts: overcloud
|
||||||
|
name: Gather facts overcloud
|
||||||
|
gather_facts: yes
|
||||||
|
- hosts: all
|
||||||
|
name: Load global variables
|
||||||
|
gather_facts: no
|
||||||
|
tasks:
|
||||||
|
- include_vars: global_vars.yaml
|
||||||
|
- hosts: overcloud
|
||||||
|
name: Run update
|
||||||
serial: 1
|
serial: 1
|
||||||
|
gather_facts: no
|
||||||
tasks:
|
tasks:
|
||||||
- include: update_steps_tasks.yaml
|
- include: update_steps_tasks.yaml
|
||||||
with_sequence: start=0 end={{update_steps_max-1}}
|
with_sequence: start=0 end={{update_steps_max-1}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user