# ansible playbook works manually but fails from the server

**URL:** <https://forum.ansible.com/t/ansible-playbook-works-manually-but-fails-from-the-server/46334>\
**Category:** Project Discussions\
**Tags:** windows\
**Created:** [September 21, 2026, 5:44pm UTC](https://forum.ansible.com/t/ansible-playbook-works-manually-but-fails-from-the-server/46334 "2026-09-21T17:44:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iuslabrownn](https://avatars.discourse-cdn.com/v4/letter/i/e9bcb4/32.png) [@iuslabrownn](https://forum.ansible.com/u/iuslabrownn)\
**Post date:** [September 21, 2026, 5:44pm UTC](https://forum.ansible.com/t/ansible-playbook-works-manually-but-fails-from-the-server/46334/1 "2026-09-21T17:44:50Z")

</div>

I’m running an Ansible playbook to deploy a small website, but the playbook behaves differently when I run it from the server. same task works when I test it manually, but ansible returns an error when it tries to access the website files. I’ve checked the pth and permissions, but I’m not sure what I’m missing. could the issue be related to the user or permissions Ansible is usig?

---

<div class="post-metadata">

**Author:** ![oranod](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/oranod/32/1434_2.png) [@oranod](https://forum.ansible.com/u/oranod)\
**Post date:** [September 21, 2026, 5:48pm UTC](https://forum.ansible.com/t/ansible-playbook-works-manually-but-fails-from-the-server/46334/2 "2026-09-21T17:48:54Z")

</div>

Welcome @iuslabrownn Could you please add a link to the GitHub repository for your website? Or copy/paste the task from your playbook that you’re trying to debug?

Thank you!
