Ubuntu – `lineinfile` and `blockinfile` always duplicating lines
I am trying to use ansible to add two lines to a configuration file for an LXC container on a Proxmox server. I have used both blockinfile and lineinfile to achieve this, and it works, but subsequent runs result in…