Read file from remote hosts - Ansible module slurp
Nov 3, 2022
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.
https://www.ansiblepilot.com/articles/read-file-from-remote-hosts-ansible-module-slurp/
Timestamps
00:00 Introduction
00:21 ansible.builtin.slurp Ansible module
01:17 parameters of ansible.builtin.slurp
01:56 slurp module demo playbook
04:47 slurp module execution and verification
06:24 Recap
FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress - http://eepurl.com/hJv3j9
BUY the Complete PDF BOOK to easily Copy and Paste the 200+ Ansible code
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://leanpub.com/ansiblebyexamples
my VIDEO COURSE: Ansible by Examples
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://www.udemy.com/course/ansible-by-examples-devops/?referralCode=8E065F6D6F8622A3DEC8
Show More Show Less #Hobbies & Leisure
#Crafts
#Engineering & Technology
