# Multiple Ansible YAML File Into SIngle

**URL:** <https://forum.ansible.com/t/multiple-ansible-yaml-file-into-single/33821>\
**Category:** Ansible Project\
**Created:** [September 16, 2020, 7:47am UTC](https://forum.ansible.com/t/multiple-ansible-yaml-file-into-single/33821 "2020-09-16T07:47:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![surabhy\_vaishakh](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@surabhy\_vaishakh](https://forum.ansible.com/u/surabhy_vaishakh)\
**Post date:** [September 16, 2020, 7:47am UTC](https://forum.ansible.com/t/multiple-ansible-yaml-file-into-single/33821/1 "2020-09-16T07:47:22Z")

</div>

How to merge multiple YAML file into a single one?

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [September 16, 2020, 9:15am UTC](https://forum.ansible.com/t/multiple-ansible-yaml-file-into-single/33821/2 "2020-09-16T09:15:00Z")

</div>

yq m \<yaml\_file\> \<yaml\_file2\> \<yaml\_file3\>...
