Hi all,

Hoping to get some feedback and help here as I am lost on this one...

Issue:
When running the below code through Tower:
- name: "Copy cert file to target host"
become: yes
copy:
src: "/tmp/my.jks"
dest: "{{ mule_home }}/certs/"
owner: serviceaccountuser
group: serviceaccountgroup

I get the following error:
"msg": "Could not find or access '/tmp/apiint_medica_com.jks' on the 
Ansible Controller.\nIf you are using a module and expect the file to exist 
on the remote, see the remote_src option"

When I run the same task on the same tower execution node via the CLI it 
works no problem. 

I've tried using delegate_to as well to ensure force find of the file on 
the specific node in question and still no luck. 

I also used the find module, and the find module can find the file with no 
problems. 

I am at a loss of what the problem here his when the same code works on the 
CLI but fails when ran through Tower.

Any thoughts?

Thanks!
Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/8ddf7624-abc3-4939-8248-5ccd103ba175n%40googlegroups.com.

Reply via email to