Copy vs Featch
Example Usage:
- name: Fetch logs from remote server fetch: src: /var/log/syslog dest: /tmp/ flat: yes # Avoids creating hostname-based directories- name: Copy configuration file to remote server copy: src: /local/config.yaml dest: /etc/app/config.yaml mode: '0644'
Last updated