Hi,
I am trying to copy a file from one location to other with copy module, on remote server
/puppeteer/.local-chromium/linux-782078/chrome-linux to /usr/local/sbin
linux.chrom_dir = /puppeteer/.local-chromium/linux-782078/chrome-linux
source file: chrome_sandbox
dest file: chrome-devel-sandbox
- name: Copy chrome_sandbox to sbin directory
copy:
src: “{{ linux.chrom_dir }}/chrome_sandbox”
dest: /usr/local/sbin/chrome-devel-sandbox
remote_src: yes
owner: root
group: root
mode: ‘4755’
if i changed the linux-782078 to linux-???,
Ansible terminating with path not found
fatal: [centos]: FAILED! => {“changed”: false, “msg”: “Source /puppeteer/.local-chromium/linux-???/chrome-linux/chrome_sandbox not found”}