Professional Documents
Culture Documents
tasks:
- name: copy a file, but do not copy if the file already exists
copy:
src: challenge/fresco_when/defaults/simplefile.txt
dest: /home/user/test/simplefile.txt
tasks:
- name: Ansible copy file to a remote server
copy:
src: challenge/fresco_when/defaults/simplefile.txt
dest: /home/usr/test/simplefile.txt
- name: copy a file, but do not copy if the file already exists
ansible.builtin.copy:
src: challenge/fresco_when/defaults/simplefile.txt
dest: /home/user/test/simplefile.txt
ERROR! We were unable to read either as JSON nor YAML, these are the errors we got
from each:
roles:
^ here
SCORE:0%