Copy and run ansible playbook (not from /tmp)

Hi,
So, Im trying to run ansible playbook from any other folder other than /tmp
Currently the “/tmp” method works fine. but due to new constraint im not able to use that dir.
this is the /tmp method
{
“type”: “ansible”,
“playbook_file”: “./main.yml”,
“sftp_command”: “/usr/libexec/openssh/sftp-server -e”
}

I added this before the execution of the ansible:
{
“type”: “file”,
“source”: “main.yml”,
“destination”: “/opt/main.yml”
},

but now, im not able to run this ansible through /opt
any suggestions?
++ edit
im not able to do anything actually because /tmp is locked (noexec) by design…

Is /opt your $HOME?

And why

“playbook_file”: “./main.yml

not

“playbook_file”: “/opt/main.yml

Maybe I don’t get it…