I have an ansible
custom module, that have a configuration file in YAML
format.
Now the question is how should I load that YAML
file inside the module?
NOTE as I understand I can't simply use something like PyYAML
since ansible
will run my module on the node that it is configuring and maybe that system does not have PyYAML
installed.
NOTE Also ansible
itself have ansible.parsing.utils.yaml.from_yaml
it is not usable by the modules.
So funny as it may sound, I don't know how to load a YAML
file in custom ansible
module. Please help