Inventory modulesInventory modulesadd_host – Add a host (and alternatively a group) to the ansible-playbook in-memory inventorygroup_by – Create Ansible groups based on facts Note (D): This marks a module as deprecated, which means a module is kept for backwards compatibility but usage is discouraged.The module documentation details page may explain more about this rationale.