Class: Ansible::Ruby::Modules::Ohai

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/system/ohai.rb

Overview

Similar to the M(facter) module, this runs the I(Ohai) discovery program (U(docs.chef.io/ohai.html)) on the remote host and returns JSON inventory data. I(Ohai) data is a bit more verbose and nested than I(facter).

Method Summary

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base