# Assemble module not working with remote\_src

**URL:** <https://forum.ansible.com/t/assemble-module-not-working-with-remote-src/14263>\
**Category:** Ansible Project\
**Created:** [January 4, 2014, 2:26am UTC](https://forum.ansible.com/t/assemble-module-not-working-with-remote-src/14263 "2014-01-04T02:26:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge\_E\_Gomez](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@Jorge\_E\_Gomez](https://forum.ansible.com/u/Jorge_E_Gomez)\
**Post date:** [January 4, 2014, 2:26am UTC](https://forum.ansible.com/t/assemble-module-not-working-with-remote-src/14263/1 "2014-01-04T02:26:13Z")

</div>

I haven’t been able to assemble a file on a host from fragments on the Ansible server.  
It fails with “msg: Source (/etc/ansible/roles/test/files/fragments/) does not exist”.

If I create and populate that path in the destination host, the file is assembled from those files.

That is, remote\_src seems to be ignored.

$ ansible --version  
ansible 1.4.3

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [January 4, 2014, 2:43am UTC](https://forum.ansible.com/t/assemble-module-not-working-with-remote-src/14263/2 "2014-01-04T02:43:03Z")

</div>

This email sounds like it’s really “assemble module not working with remote\_src=False”.

Looking at the problem, it appears the code was written to not boolean-ify the input arguments, which is definitely a bug. Please file a ticket if you don’t mind.

```auto

        remote_src = options.get('remote_src', True)

It appears from looking at things, this may work for you:

- assemble:
     src: blah
     dest: blah
     remote_src: False

```

Which prevents sending string arguments to the code. The fix is to boolean-ify the string, which we have some utility functions for.

In any case, please make sure there is a github ticket open on this.

Thanks!
