Hii
I don't know what system this is producing, it seems some Java code?
In any case, if I assume that your Java code eventually runs ansible,
then the error is clear: there is no such file or directory where
ansible expects it.
Note: this seems to happen sometimes because ansible is not run
manually, but by some machine, which may run some container or other
abstraction device internally, and that final ansible execution
environment does not have that file/directory.
In short, if you state "actually the file is present", that may be
correct, but it may be on a different system than where (you think)
ansible runs.
Since you haven't shared any playbook, it's hard to tell what goes on.
So, start by sharing your playbook.
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
ansible-proje...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/98c34ce0-d046-4225-998c-ac0205656420n%40googlegroups.com.