I know we can use array in yml, e.g.
web_servers:
-
“server.1=host1”
-
“server.2=host2”
-
“server.3=host3”
However, will it be possible to use array of hash/dictionary?
Thanks.
I know we can use array in yml, e.g.
web_servers:
“server.1=host1”
“server.2=host2”
“server.3=host3”
However, will it be possible to use array of hash/dictionary?
Thanks.
yes, yaml lets you use any combo of hash/dictionary with list/array that you can come up with.
webservers:- 1: host1
2: host2
3: host3