Permission denied while executing jobs

I am getting permission denied while executing jobs through Ansible, script automatically creates files and folders by all the time it getting permission denied for files and folders to access