how to read all lines from a file in ansible playbook – Nginx
I have a file called packages.txt which contains a list of packages. I have to read each line of that package.txt through my ansible file rpm.yml. Here is my code - hosts: myhost tasks: - name: RPM Filter theforeman.foreman.content_view_filter: username:…