by straphka · 9y ago · 0 comments
It basically mounts a dict on a filesystem, the exact opposite of what you want :)
The ansible setup module returns the system information in json, and if you mount it with the --realtime flag, when you open a "file" like ram for instance, ansible fetches the current value for you. That way you have your infrastructure mounted so to speak. Sort of a /proc filesystem for your linux infrastructure.
I never got further than a working poc though. It works, but there are some bugs and there is no regard for security.