# Appending to list

**URL:** <https://forum.ansible.com/t/appending-to-list/15007>\
**Category:** Ansible Project\
**Created:** [April 13, 2014, 9:49am UTC](https://forum.ansible.com/t/appending-to-list/15007 "2014-04-13T09:49:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ilin](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@Ilin](https://forum.ansible.com/u/Ilin)\
**Post date:** [April 13, 2014, 9:49am UTC](https://forum.ansible.com/t/appending-to-list/15007/1 "2014-04-13T09:49:44Z")

</div>

Hi,

I am wondering if there is a way to append values to existing list.

For example:

In the role/defaults the declaration can be something like x:

And afterwards values are applied from all var files  
group\_vars/all  
group\_vars/group1

host\_vars/host1

Thanks,  
ilin
