# Blockinfile looping overwrites even though the marker is differnent

**URL:** <https://forum.ansible.com/t/blockinfile-looping-overwrites-even-though-the-marker-is-differnent/24559>\
**Category:** Ansible Project\
**Created:** [May 24, 2017, 3:48am UTC](https://forum.ansible.com/t/blockinfile-looping-overwrites-even-though-the-marker-is-differnent/24559 "2017-05-24T03:48:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcst.eoin.kim](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@rcst.eoin.kim](https://forum.ansible.com/u/rcst.eoin.kim)\
**Post date:** [May 24, 2017, 3:48am UTC](https://forum.ansible.com/t/blockinfile-looping-overwrites-even-though-the-marker-is-differnent/24559/1 "2017-05-24T03:48:08Z")

</div>

Hi all,

I am trying to insert a block of lines via Blockinfile module and it is overwriting the previous change even though I am using different marker.

I have configured the code like below:
