# Could there be a way let me include all ansible playbook?

**URL:** <https://forum.ansible.com/t/could-there-be-a-way-let-me-include-all-ansible-playbook/18768>\
**Category:** Ansible Project\
**Created:** [July 15, 2015, 9:01am UTC](https://forum.ansible.com/t/could-there-be-a-way-let-me-include-all-ansible-playbook/18768 "2015-07-15T09:01:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dylan\_Wang](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@Dylan\_Wang](https://forum.ansible.com/u/Dylan_Wang)\
**Post date:** [July 15, 2015, 9:01am UTC](https://forum.ansible.com/t/could-there-be-a-way-let-me-include-all-ansible-playbook/18768/1 "2015-07-15T09:01:01Z")

</div>

Hi guys,  
I use travis-CI for syntax checking.

Could there be a way let me include all ansible playbook in a same directory? (eg. - include \*.yml )  
That will help me a lot for maintain syntax test, otherwise when I modify/add a playbook, I need change it in test.yml too.

and also syntax checking seems don’t work for third-party module, if I play it directly it works fine, but when I add `--syntax-check`,  
it just show me " not a legal parameter of an Ansible Play".  
Is that a bug?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [July 15, 2015, 3:24pm UTC](https://forum.ansible.com/t/could-there-be-a-way-let-me-include-all-ansible-playbook/18768/2 "2015-07-15T15:24:03Z")

</div>

it won't work with include, but you can do this in shell:

ansible-playbook \*.yml --syntax-check

and yes, it should work with 3rd party modules
