How can I copy more than a single file into remote nodes by Ansible in a task?
I\'ve tried to duplicate the copy module line in my task to define files but it only copie
- hosts: lnx tasks: - find: paths="/appl/scripts/inq" recurse=yes patterns="inq.Linux*" register: file_to_copy - copy: src={{ item.path }} dest=/usr/local/sbin/ owner: root mode: 0775 with_items: "{{ files_to_copy.files }}"