Ansible Module copy
Jump to navigation
Jump to search
External
Internal
Example
- name: Copy bashrc scripts
template:
src: "{{ item }}"
dest: "{{rc_d}}"
mode: "u=rwx,g=rx,o=rx"
with_fileglob:
- "*.sh"
The files can be placed in:
- <role>/files