Ansible lineinfile be damned

The Ansible lineinfile module is designed to search a file for a line, and ensure that it is present or absent. lineinfile is very effective at that particular task. However, when the line has to be in a certain place or before or after a certain line, lineinfile becomes a hassle to manage. Sign up for DevOps'ish! DevOps’ish is a weekly newsletter covering DevOps, Cloud Native, Open Source, and the ‘ish in between. [Read More]