# Stuck deploying templated configs for multiple users with with\_items

**URL:** <https://forum.ansible.com/t/stuck-deploying-templated-configs-for-multiple-users-with-with-items/22458>\
**Category:** Ansible Project\
**Created:** [September 1, 2016, 8:20pm UTC](https://forum.ansible.com/t/stuck-deploying-templated-configs-for-multiple-users-with-with-items/22458 "2016-09-01T20:20:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [September 1, 2016, 8:20pm UTC](https://forum.ansible.com/t/stuck-deploying-templated-configs-for-multiple-users-with-with-items/22458/1 "2016-09-01T20:20:05Z")

</div>

Hi,

I want to deploy a couple of OpenVPN configs to multiple users. It works for a single user but now I'm stuck trying to make it work for multiple users. Anyone have a suggestion how to make this work?

Variables:

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [September 1, 2016, 8:46pm UTC](https://forum.ansible.com/t/stuck-deploying-templated-configs-for-multiple-users-with-with-items/22458/2 "2016-09-01T20:46:32Z")

</div>

Are you trying to make all the users on all the sites?  
If so, check out with\_nested  
[https://docs.ansible.com/ansible/playbooks\_loops.html#nested-loops](https://docs.ansible.com/ansible/playbooks_loops.html#nested-loops)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [September 1, 2016, 11:29pm UTC](https://forum.ansible.com/t/stuck-deploying-templated-configs-for-multiple-users-with-with-items/22458/3 "2016-09-01T23:29:44Z")

</div>

Hi Kai,
