Is it possible to use a JSON file instead of writing the file as YAML? Will
Ansible use the two interchangeable or do you need to provide an additional
setting when it's called from Ansible-play?
In my Host Vars file could I have something like this?
{
"ETHERNET_TRUNK": {
"PORT": [
"1/1"
]
}
}
Vs. making the file support YAML instead?
---
ETHERNET_TRUNK:
PORT:
- 1/1
-eric
--
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/CY1PR0301MB1260729084724504D12809BEDD2C0%40CY1PR0301MB1260.namprd03.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.