List of dict in the inventory
Hi,
I'm using Ansible to attach VMDK to VMware VM and create a filesystem/mountpoint on the OS.
My inventory looks like this:
[extra_vmdks]
myhost vmdks='["{'path': '/data', 'mode': 'persistent', 'size': '20G', 'vgname': 'data'}", "{'path:' '/opt', 'mode': 'persistent', 'size': '12G', 'vgname': 'opt'}", "{'path': '/var/log/iway', 'mode': 'independent_persistent', 'size': '12G', 'vgname': 'logiway'}"]'
It works but is there a better way to store this information in the inventory? YAML/TOML format doesn't seem better.
Thanks,