I am aware of the nested loops documentation here: http://docs.ansible.com/ansible/playbooks_loops.html#nested-loops I have 3 servers: say server1, server2, server3. I need to run a command in this fashion:
Run command on server1
Run command on server1, Run command on server2
Run command on server1, Run command on server2, Run command on server3
Any idea how I can do this using loops in ansible? I know how I can run nested loops using loop and product filter. But dont know how I can handle my particular case using Ansible.