Ansible lineinfile module could be the saviour of your day when you want to work with files and especially modify their content on the run, like adding a new line in the file or updating a line in the file or replace a line in the file when certain text[...]
Read more![ansible lineinfile examples](https://www.middlewareinventory.com/wp-content/uploads/2019/03/photo-1461360228754-6e81c478b882-1-360x240.jpeg)