Re: [ansible-devel] Ansible Tower Copy Module can't find file on Ansible Controller

2020-10-01 Thread tntda...@gmail.com
Many thanks John. That is great to know. Always learning something new :) I changed the path of the download from /tmp to /opt and it worked like a charm. Will keep the paths to expose in mind for the future! Tom On Thursday, October 1, 2020 at 8:08:25 AM UTC-5 John Westcott IV wrote: > Tower

Re: [ansible-devel] Ansible Tower Copy Module can't find file on Ansible Controller

2020-10-01 Thread John Westcott
Tower runs Ansible through bubble wrap which is like a chroot jail. The /tmp available in the bubble wrap environment may not be the same /tmp on the actual Tower server. If you need a directory exposed to the bubble wrap container look in settings => jobs => path to expose to isolated jobs. -Jo

[ansible-devel] Ansible Tower Copy Module can't find file on Ansible Controller

2020-10-01 Thread tntda...@gmail.com
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 t