mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
389 B
ReStructuredText
17 lines
389 B
ReStructuredText
12 years ago
|
.. _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
|