# ERR : msg: src (or content) and dest are required

**URL:** <https://forum.ansible.com/t/err-msg-src-or-content-and-dest-are-required/22221>\
**Category:** Ansible Project\
**Created:** [August 5, 2016, 7:11am UTC](https://forum.ansible.com/t/err-msg-src-or-content-and-dest-are-required/22221 "2016-08-05T07:11:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiran\_Patil](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Kiran\_Patil](https://forum.ansible.com/u/Kiran_Patil)\
**Post date:** [August 5, 2016, 7:11am UTC](https://forum.ansible.com/t/err-msg-src-or-content-and-dest-are-required/22221/1 "2016-08-05T07:11:12Z")

</div>

Hello,

Can someone help on this ?

I am getting err

failed: [xxx01] =\> {“failed”: true}  
msg: src (or content) and dest are required

FATAL: all hosts have already failed – aborting

- name: Set puppet.conf  
copy: src=/etc/ansible/playbooks/files/puppet-Prod.conf dest:/etc/puppetlabs/puppet/puppet.conf mode=0644 force
- name: Run puppet agent in test mode  
command: puppet agent -t

I am using ansible to install puppet client here.

It fails while tryng to overwrite the file puppet.conf

---

<div class="post-metadata">

**Author:** ![Scott\_Sturdivant](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@Scott\_Sturdivant](https://forum.ansible.com/u/Scott_Sturdivant)\
**Post date:** [August 5, 2016, 2:23pm UTC](https://forum.ansible.com/t/err-msg-src-or-content-and-dest-are-required/22221/2 "2016-08-05T14:23:23Z")

</div>

dest:/etc/… → dest=/etc/…

---

<div class="post-metadata">

**Author:** ![Kiran\_Patil](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Kiran\_Patil](https://forum.ansible.com/u/Kiran_Patil)\
**Post date:** [August 5, 2016, 6:39pm UTC](https://forum.ansible.com/t/err-msg-src-or-content-and-dest-are-required/22221/3 "2016-08-05T18:39:54Z")

</div>

Thanks Scott , i figured it out too.

I wanted to update but the post was under moderator review so i could not.
