mirror of
https://github.com/taigrr/yq
synced 2025-01-18 04:53:17 -08:00
Bugfix: Read yaml array
Parsing an array into MapSlice results in `[{nil, nil}]`.
Parse into `[]map[interface{}]interface{}` allows for the processing of
top level arrays in the document.
Resolves: #23
This commit is contained in:
9
examples/array.yaml
Normal file
9
examples/array.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- become: true
|
||||
gather_facts: false
|
||||
hosts: lalaland
|
||||
name: "Apply smth"
|
||||
roles:
|
||||
- lala
|
||||
- land
|
||||
serial: 1
|
||||
Reference in New Issue
Block a user