ansible/rst/modules/ohai.rst
2012-10-03 21:00:26 -04:00

499 B

ohai

0.6

Similar to the facter module, this runs the ohai discovery program (http://wiki.opscode.com/display/chef/Ohai) on the remote host and returns JSON inventory data. Ohai data is a bit more verbose and nested than facter.

Retrieve ohai data from all Web servers and store in one-file per host

ansible webservers -m ohai --tree=/tmp/ohaidata