Can't copy files ,because I get this error "Not a directory"
- name: Copy file with owner and permissions
copy:
src: files/
dest: /opt/day/scripts
owner: author
group: aem
mode: '0744'
force: yes
What could be the cause of that? What does that mean?