Read a file into a variable on host — Ansible lookup plugin file
How to automate the reading of example.txt file on Ansible host, assign to a variable and use in your Ansible Playbook code.
4 min readFeb 16, 2022
I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday