I'm trying to write an Ansible playbook which will take a bash-script, stored on the same virtual machine, transfer this script to another virtual machine and then execute it. I've played this script on Ansible AWX and I've modified this script many times, trying copy: module, template: module and script: module and I gain every time the same mistake (see the applied pictures). It looks like Ansible AWX doesn't have rights to file system, where it is installed and I have no idea, why it is so.
Update: I think the thing is that AWX is installed in docker container. At the moment I don't know how to add correctly script to awx-container.
Script:
Error:
Linux directory:


