# Fundamental Template Problem

**URL:** <https://forum.ansible.com/t/fundamental-template-problem/23068>\
**Category:** Ansible Project\
**Created:** [November 22, 2016, 5:29am UTC](https://forum.ansible.com/t/fundamental-template-problem/23068 "2016-11-22T05:29:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon\_Forrest](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@Jon\_Forrest](https://forum.ansible.com/u/Jon_Forrest)\
**Post date:** [November 22, 2016, 5:29am UTC](https://forum.ansible.com/t/fundamental-template-problem/23068/1 "2016-11-22T05:29:50Z")

</div>

(Ansible 2.2 - Mac OS 12.1)

I'm having trouble with a template I'm trying to create. So, I cut  
it down to a bare minimum.

Consider the following:

jon.yml

---

<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:** [December 1, 2016, 4:26am UTC](https://forum.ansible.com/t/fundamental-template-problem/23068/2 "2016-12-01T04:26:15Z")

</div>

You are trying to connect to all hosts, the template module is trying to copy the generated file to the target hosts
