Jan 31, 22
Copy files from Windows remote hosts - Ansible module fetch
How to automate the copy and validate the checksum of example.txt file in the Desktop to a Linux Ansible Controller using Ansible Playbook and fetch module.
Jan 25, 22
Read file from remote hosts - Ansible module slurp
How to automate the read of /proc/cpuinfo file from Linux remote host with Ansible. The file is copied as base 64 encoding and decoded with an Ansible Filter.
Jan 17, 22
Copy Multiple Files to Remote Hosts - Local to Remote - Ansible lookup plugin fileglob
How to automate the copy of the "example/*.txt" files to a target host using the with_fileglob Ansible loop statement and Ansible lookup plugin fileglob.
Sep 14, 21
Copy files to Windows remote hosts - Local to Remote - Ansible module win_copy
How to copy report.txt file to Windows remote hosts using Ansible module win_copy.
Aug 12, 21
Copy files from remote hosts - Remote to Local - Ansible module fetch
How to Copy files from remote hosts with Ansible? Simple code how to copy /var/log/messages from managed host to controller.