1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/rst/modules/ohai.rst
2012-08-13 15:39:00 -04:00

16 lines
361 B
ReStructuredText

.. _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