ansible / ansible.builtin / v2.7.16 / module / ohai Returns inventory data from I(Ohai) | "added in version" 0.6 of ansible.builtin" Authors: Ansible Core Team, Michael DeHaan (@mpdehaan) preview | supported by communityansible.builtin.ohai (v2.7.16) — module
pip
Install with pip install ansible==2.7.16
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).