# Run all of \`site.yaml\` playbook

**URL:** <https://forum.ansible.com/t/run-all-of-site-yaml-playbook/43063>\
**Category:** Get Help\
**Created:** [May 29, 2025, 10:58am UTC](https://forum.ansible.com/t/run-all-of-site-yaml-playbook/43063 "2025-05-29T10:58:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aragilar](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/aragilar/32/8642_2.png) [@aragilar](https://forum.ansible.com/u/aragilar)\
**Post date:** [May 29, 2025, 10:58am UTC](https://forum.ansible.com/t/run-all-of-site-yaml-playbook/43063/1 "2025-05-29T10:58:52Z")

</div>

I have a playbook (`site.yaml`) which calls the other main playbooks (`infra1.yaml`, infra2.yaml` etc.), which looks like

```auto
- import_playbook: infra1.yaml
- import_playbook: infra2.yaml
- import_playbook: infra3.yaml

```

Is it possible to have ansible go through all the imports and run them, even if an earlier playbook errors i.e. if `infra1.yaml` errors, `infra2.yaml` and `infra3.yaml` are still run?

---

<div class="post-metadata">

**Author:** ![Lyle\_McKarns](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/lyle_mckarns/32/8142_2.png) [@Lyle\_McKarns](https://forum.ansible.com/u/Lyle_McKarns)\
**Post date:** [May 29, 2025, 11:41am UTC](https://forum.ansible.com/t/run-all-of-site-yaml-playbook/43063/2 "2025-05-29T11:41:04Z")

</div>

I’d start with looking at [error handling](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_error_handling.html). This can help you either define what “failed” means, or ignore it completely when you need to.
