I have a copy TASK
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.
thx for that suggestion, however I can do this without any problem
ansible postgres -l @…/temp/limit_agrar -m copy -a “src=…/temp/postgresql-12.15-postgis-3.2.5-el8-ina1.tar.gz dest=/opt/db/postgres/install/ mode=0644 owner=postgres group=postgres” -b --become-user=postgres
and I’d say that has the same privilege situation as my playbook
become and become_user: postgresis are at the wrong indentation level in the task?