Loops,Conditions,file,copy in Ansible
Loops in Playbook:
We use loops when we need to perform a task repeatedly
Syntax:
with_items ---> is the loop
To use items within a loop, enclose them in double curly braces like this: '{{item}}'.
with_items:
- item-1
- item-2
- item-n
E...
vishalsiripruam.hashnode.dev5 min read