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
361 B
ReStructuredText
17 lines
361 B
ReStructuredText
12 years ago
|
.. _ohai:
|
||
|
|
||
|
ohai
|
||
|
````
|
||
|
|
||
|
Similar to the :ref:`facter` module, this returns JSON inventory data.
|
||
|
Ohai data is a bit more verbose and nested than facter.
|
||
|
|
||
|
Requires that 'ohai' be installed on the remote end.
|
||
|
|
||
|
Playbooks should not call the ohai module, playbooks call the
|
||
|
:ref:`setup` module behind the scenes instead.
|
||
|
|
||
|
Example::
|
||
|
|
||
|
ansible foo.example.org -m ohai
|