Got an error using shell module in playbook, 'Could not find or access to "path/to/the/shell/script"

Hi guys,
Good morning, This is Chaithanya. i got the above error, even i mention remote_src: yes

can you provide the tasks?

run a script using a executable system path

  • script: /extra/pki/Ansible/staging/lib/executable.sh
    args:
    executable: shell
    remote_src: yes

im assuming the formatting got broken when you added to email? if not then remote_src needs same spacing.

Yes syntax I added correctly (spacing and all) issue with “could not find or access to that file using the shell module”