New in version 2.8.
/usr/bin/ansible
to check what variables are available to a host.Parameter | Choices/Defaults | Comments |
---|---|---|
parallel boolean |
| A toggle that controls if the fact modules are executed in parallel or serially and in order. This can guarantee the merge order of module facts at the expense of performance. By default it will be true if more than one fact module is used. |
Note
# Display facts from all hosts and store them indexed by I(hostname) at C(/tmp/facts). # ansible all -m gather_facts --tree /tmp/facts
More information about Red Hat’s support of this module is available from this Red Hat Knowledge Base article.
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/gather_facts_module.html