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?