mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
M #-: fix minor bug in DDC playbooks (#4687)
This commit is contained in:
parent
54d60c4223
commit
7dc4b0033f
@ -242,8 +242,10 @@ module OneProvision
|
||||
base.delete('playbook')
|
||||
end
|
||||
|
||||
yaml['playbook'] = [yaml['playbook']]
|
||||
yaml['playbook'].flatten!
|
||||
if yaml['playbook']
|
||||
yaml['playbook'] = [yaml['playbook']]
|
||||
yaml['playbook'].flatten!
|
||||
end
|
||||
|
||||
# replace scalars or append array from child YAML
|
||||
yaml.each do |key, value|
|
||||
|
Loading…
x
Reference in New Issue
Block a user