ansible / ansible.builtin / v2.9.27 / 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.9.27) — module
pip
Install with pip install ansible==2.9.27
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).