Utilities modules — Ansible Documentation

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

Documentation

# Utilities modules

## Helper

> - meta – Execute Ansible ‘actions’

## Logic

> - assert – Asserts given expressions are true
> - async_status – Obtain status of asynchronous task
> - debug – Print statements during execution
> - fail – Fail with custom message
> - import_playbook – Import a playbook
> - import_role – Import a role into a play
> - import_tasks – Import a task list
> - include – Include a play or task list
> - include_role – Load and execute a role
> - include_tasks – Dynamically include a task list
> - include_vars – Load variables from files, dynamically within a task
> - pause – Pause playbook execution
> - set_fact – Set host facts from a task
> - set_stats – Set stats for the current ansible run
> - wait_for – Waits for a condition before continuing
> - wait_for_connection – Waits until remote system is reachable/usable

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.