Conditionals with reuse
You can use conditionals with reusable tasks files, playbooks, or roles. Ansible executes these conditional statements differently for dynamic reuse (includes) and static reuse (imports). SeeReusing Ansible artifactsfor more information on reuse in Ansible.