Inventory modules — Ansible Documentation

- AnsibleFest
- Products
- Community
- Webinars & Training
- Blog

Documentation

# Inventory modules

> - add_host – Add a host (and alternatively a group) to the ansible-playbook in-memory inventory
> - group_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.