On Wed, 26 Jul 2023 at 16:53, dulhaver via Ansible Project <
[email protected]> wrote:

> ull 2>&1 && sleep 0'"'"''
> <dvzsn-rd5097.portal.cn-mv.de> (0, b'', b'')
> fatal: [dvzsn-rd5097.portal.cn-mv.de]: FAILED! => {
>     "msg": "Failed to get information on remote file
> (/opt/db/postgres/install/postgresql-14.8-postgis-3.3.3-el8-ina1.tar.gz):
> Permission denied"
> }
> <dvzsn-rd5095.portal.cn-mv.de> (0, b'', b'')
> fatal: [dvzsn-rd5095.portal.cn-mv.de]: FAILED! => {
>     "msg": "Failed to get information on remote file
> (/opt/db/postgres/install/postgresql-14.8-postgis-3.3.3-el8-ina1.tar.gz):
> Permission denied"
> }
>
> ###########################################################################################
>
> the permissions on that folder look good enough for the postgres user to
> write
>
> > ls -l /opt/db/postgres/ | grep install
> drwxr-x---. 2 postgres postgres  89 26. Jul 16:21 install
>
>
>
> any idea what my problem may be?
>

Permissions after all. There is a dot at the end of your permissions, which
usually indicates that an SELinux context is present.
I don't know how that exactly works.
In any case is it not an ansible problem but a local permissions problem.
So make sure that is fixed, and then your ansible task will work as well.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLbbz02yK4J0LmkU9igX49LN2%2B%3D2EnsCm07f4qHj4W-RoQ%40mail.gmail.com.

Reply via email to