Skip to content

Glossary: Ansible and Server Automation

import_role / include_role

Also written: include_tasks, import_tasks, import_role, include_role

Keywords that load a role or a tasks file in the middle of a play's tasks, instead of listing the role under `roles:`.

Where the book teaches it

Related terms

Role