i was going to say, you cannot reference lists by name
so
db:
- first:
stuff: lasdjkf
la: dida
- second:
stuff: aslkdfjsk
la: lala
is a list, if you wanted to reference by name you need to make it a
hash/dictionary so you can only get first through db[0].
db:
first:
stuff: lasdjkf
la: dida
second:
stuff: aslkdfjsk
la: lala
now you can do db['first']
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8nnRTrO%3DF9FVO-ED-gV2bMoJW8X1D%2Bkh-1NSiA5cvJEfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.