Correct os-cinder-install task serialisation

The code should run two batches, a single host followed by all
remaining hosts by passing a list ['1', '100%'] as the serial
parameter. The list was not initialised correctly.

Change-Id: I99b5e9bd088af3633a4f186af6d2081c632ccf4f
This commit is contained in:
Jonathan Rosser 2019-05-26 22:10:27 +01:00
parent dc7162f5e5
commit a1c040443e

View File

@ -25,7 +25,7 @@
include: common-playbooks/cinder.yml
vars:
cinder_hosts: "cinder_volume:!cinder_scheduler:!cinder_api"
cinder_serial: "{{ cinder_backend_serial | default('1', '100%') }}"
cinder_serial: "{{ cinder_backend_serial | default(['1', '100%']) }}"