Ansible artifacts are reusable files and roles. Artifacts include:
- A variable file which contains only variables.
- A task file which contains only tasks.
- A playbook which contains at least one play, and may contain variables, tasks, and other content. You can reuse playbooks, but you can only reuse them statically, not dynamically.
- A role contains a set of related tasks, variables, defaults, handlers, and modules or other plug-ins in a defined file-tree.