ansible.builtin.ohai (v2.9.27) — module

Returns inventory data from I(Ohai)

| "added in version" 0.6 of ansible.builtin"

Authors: Ansible Core Team, Michael DeHaan (@mpdehaan)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Similar to the M(facter) module, this runs the I(Ohai) discovery program (U(https://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).


Requirements