I am attemping o copy a file from one remote linux server to two remote linux
servers. My playbook is:
- name: copy file
hosts: "remote source server"
gather_facts: false
tasks:
- name: "copy "
copy:
src: /opt/odrive/alc/library/libraryusername.csv
remote_src: yes
dest: /var/alc
delegate_to: destination server 1
check_mode: yes
- name: "copy "
copy:
src: /opt/odrive/alc/library/libraryusername.csv
remote_src: yes
dest: /var/alc
delegate_to: destination server 2
check_mode: yes
I get the following error despite the file being there.
"msg": "Source /opt/odrive/alc/library/libraryusername.csv not found"
What am I missing?
Thank you,
********************************
Rene Paquin - Systems Administrator
Wilfrid Laurier University
Waterloo, Ontario
(519)884-0710 x3795
[email protected]<mailto:[email protected]>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/YQBPR0101MB62463290E15B126F8E6BF23AD8689%40YQBPR0101MB6246.CANPRD01.PROD.OUTLOOK.COM.