Ansible loops examples and introduction - Linux Automation

In a previous article we talked about Ansible, a very useful provisioning free and open source software written in Python, which we can use to automate tasks on multiple machines. We saw how to install it on some of the most used Linux distributions and the basic concepts behind its usage. In this article we focus on how to use loops inside Ansible playbooks in order to perform a single task multiple times with different data.


This is a companion discussion topic for the original entry at https://linuxconfig.org/ansible-loops-examples-and-introduction