mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Allow modules to return facts.
If the module result contains "ansible_facts", that will be added to the setup cache.
This commit is contained in:
@@ -22,4 +22,6 @@
|
||||
# facter
|
||||
# ruby-json
|
||||
|
||||
echo '{ "ansible_facts":'
|
||||
/usr/bin/facter --json
|
||||
echo '}'
|
||||
|
||||
Reference in New Issue
Block a user