# Ansible Loops and Filters sample for practise

**URL:** <https://forum.ansible.com/t/ansible-loops-and-filters-sample-for-practise/33938>\
**Category:** Ansible Project\
**Created:** [October 1, 2020, 8:11am UTC](https://forum.ansible.com/t/ansible-loops-and-filters-sample-for-practise/33938 "2020-10-01T08:11:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amitchettri](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/amitchettri/32/404_2.png) [@amitchettri](https://forum.ansible.com/u/amitchettri)\
**Post date:** [October 1, 2020, 8:11am UTC](https://forum.ansible.com/t/ansible-loops-and-filters-sample-for-practise/33938/1 "2020-10-01T08:11:47Z")

</div>

Hello All,

I am looking for some good blogs or GitHub link which basically helps to practice in details with different types of ansible loops, filter and filter manipulation with sample variable or files.

I have been following up below link for this topic from **[https://docs.ansible.com/](https://docs.ansible.com/)**, though it have the syntax of its usage but it does not contain any sample example over which this exercise is getting looped or filter is applied.

it will be really a great help if someone can guide me on this.

**[https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_loops.html](https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html)**

**[https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_filters.html](https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html)**

**[https://docs.ansible.com/ansible/2.3/playbooks\_filters.html](https://docs.ansible.com/ansible/2.3/playbooks_filters.html)**

Regards  
Amit

---

<div class="post-metadata">

**Author:** ![Will\_McDonald](https://avatars.discourse-cdn.com/v4/letter/w/f475e1/32.png) [@Will\_McDonald](https://forum.ansible.com/u/Will_McDonald)\
**Post date:** [October 1, 2020, 8:21am UTC](https://forum.ansible.com/t/ansible-loops-and-filters-sample-for-practise/33938/2 "2020-10-01T08:21:17Z")

</div>

Have a look through Ansible Lightbulb and its replacement, Ansible Workshops?

- [https://github.com/ansible/lightbulb](https://github.com/ansible/lightbulb)
- [https://ansible.github.io/workshops](https://ansible.github.io/workshops)
