# This topic needs a title

**URL:** <https://forum.ansible.com/t/this-topic-needs-a-title/36719>\
**Category:** Ansible Project\
**Created:** [June 13, 2022, 9:28am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719 "2022-06-13T09:28:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivakumar\_Venkatasw](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Post date:** [June 13, 2022, 9:28am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719/1 "2022-06-13T09:28:56Z")

</div>

Hi team,

I’m facing “Source /home/yum.repos.d not found” error while running playbook … my playbook view like this … please help out.

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [June 13, 2022, 10:01am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719/2 "2022-06-13T10:01:06Z")

</div>

> Hi team,
> 
> I'm facing "Source /home/yum.repos.d not found" error while running playbook .. my playbook view like this .. please help out.

I suppose this directory is either missing on the remote machine or the ansible user doesn't have the proper permissions to access it.

Regards

```
        Racke

```

---

<div class="post-metadata">

**Author:** ![Shivakumar\_Venkatasw](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Post date:** [June 13, 2022, 11:14am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719/3 "2022-06-13T11:14:50Z")

</div>

Hi racke,  
I trailed with root also same error facing… i think some interpreter issue… please check once.

PLAY [Copy Directory Example Local to Remote] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

TASK [Copying the Directory and its contents] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [172.16.13.160]: FAILED! =\> {“ansible\_facts”: {“discovered\_interpreter\_python”: “/usr/bin/python”}, “changed”: false, “msg”: “Source /home/yum.repos.d not found”}

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
172.16.13.160 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

---

<div class="post-metadata">

**Author:** ![Walter\_Rowe](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/walter_rowe/32/4506_2.png) [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Post date:** [June 13, 2022, 11:17am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719/4 "2022-06-13T11:17:59Z")

</div>

yum.repos.d is in /etc … not /home … not sure how its getting that path.

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [June 13, 2022, 11:21am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719/5 "2022-06-13T11:21:02Z")

</div>

> yum.repos.d is in /etc .. not /home .. not sure how its getting that path.

\> - name: Copying the Directory and its contents  
\> copy:  
\> src: /home/yum.repos.d

Regards Racke

---

<div class="post-metadata">

**Author:** ![Walter\_Rowe](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/walter_rowe/32/4506_2.png) [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Post date:** [June 13, 2022, 11:38am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719/6 "2022-06-13T11:38:00Z")

</div>

Then that /home/yum.repos.d must be on the control host running the ansible playbook. The copy task always copies from local to remote.

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [June 13, 2022, 12:38pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719/7 "2022-06-13T12:38:58Z")

</div>

> Then that /home/yum.repos.d must be on the control host running the ansible playbook. The copy task always copies from local to remote.

That is not correct:

remote\_src: yes

Regards

```
        Racke

```

---

<div class="post-metadata">

**Author:** ![Shivakumar\_Venkatasw](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Post date:** [June 13, 2022, 12:49pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719/8 "2022-06-13T12:49:39Z")

</div>

yes,  
That’s working…  
remote\_src: yes not required…

Thank you all,

Regards,  
shivu

---

<div class="post-metadata">

**Author:** ![Walter\_Rowe](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/walter_rowe/32/4506_2.png) [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Post date:** [June 13, 2022, 12:51pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719/9 "2022-06-13T12:51:25Z")

</div>

good catch. I missed that.
