a252d71573
I was wondering how to return a new fact from a module I got the answer on IRC thx to "mgedmin". I read this doc several time but didn't understood that I had to return a "ansible_facts" in the module.exit_json. This change is about showing a sample code of it to help the next reader ;) |
||
---|---|---|
.. | ||
conf.py | ||
developing.rst | ||
developing_api.rst | ||
developing_core.rst | ||
developing_inventory.rst | ||
developing_module_utilities.rst | ||
developing_modules.rst | ||
developing_modules_python3.rst | ||
developing_plugins.rst | ||
developing_program_flow_modules.rst | ||
developing_releases.rst | ||
developing_test_pr.rst | ||
index.rst | ||
Makefile | ||
overview_architecture.rst |