# Include many vars in one go

**URL:** <https://forum.ansible.com/t/include-many-vars-in-one-go/21821>\
**Category:** Ansible Project\
**Created:** [June 21, 2016, 9:31am UTC](https://forum.ansible.com/t/include-many-vars-in-one-go/21821 "2016-06-21T09:31:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Morgan](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@James\_Morgan](https://forum.ansible.com/u/James_Morgan)\
**Post date:** [June 21, 2016, 9:31am UTC](https://forum.ansible.com/t/include-many-vars-in-one-go/21821/1 "2016-06-21T09:31:34Z")

</div>

Hi,

Is it possible to load many files in one go? In a similar way to the yum module?

My issue is that I have ~80 application files that I load from vars.

pre\_tasks:

- name: Load default application config  
include\_vars: “{{ item }}”  
with\_fileglob: “{{ playbook\_dir }}/vars/app\_default-\*.yml”  
no\_log: True

When I do this with large inventories of 100’s of boxes it logs a line for every include which is a lot.

I would prefer if I could load all in one go per host.

I have added no\_log: True to reduce the noise but its still pretty noisey

Many thanks

James
