mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
17 lines
389 B
ReStructuredText
17 lines
389 B
ReStructuredText
|
.. _facter:
|
||
|
|
||
|
facter
|
||
|
``````
|
||
|
|
||
|
Runs the discovery program 'facter' on the remote system, returning
|
||
|
JSON data that can be useful for inventory purposes.
|
||
|
|
||
|
Requires that 'facter' and 'ruby-json' be installed on the remote end.
|
||
|
|
||
|
Playbooks do not actually use this module, they use the :ref:`setup`
|
||
|
module behind the scenes.
|
||
|
|
||
|
Example from /usr/bin/ansible::
|
||
|
|
||
|
ansible foo.example.org -m facter
|