Merge "Make sure deploy_steps_max is defined for update playbook"

This commit is contained in:
Zuul 2018-01-31 15:19:57 +00:00 committed by Gerrit Code Review
commit 541adb47d1
1 changed files with 14 additions and 0 deletions

View File

@ -504,8 +504,22 @@ outputs:
when: role_name == '{{role.name}}'
{%- endfor %}
update_steps_playbook: |
- hosts: undercloud
name: Gather facts undercloud
gather_facts: yes
become: false
- 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
gather_facts: no
tasks:
- include: update_steps_tasks.yaml
with_sequence: start=0 end={{update_steps_max-1}}