Ansible: insert a line after a string using lineinfile module
Ansible Devops lineinfile LinuxNix regexp

Ansible: insert a line after a string using lineinfile module

Introduction I recently came across a situation wherein I needed to search for a string/word in a file and then append some piece of text after the matched string. I’m sure that there are many…