Oddbean new post about | logout
 Just in case this doesn't make sense to anyone, #Ansible has a commonly used tool called lineinfile that let's you do things like update server config files.  You can use regex to identify which line up update.  With backrefs, you can do some particularly intricate/powerful things so that the line that is written can be a combination of #regex matches and ansible variables.

https://dev.to/ferricoxide/code-explainer-regex-and-backrefs-in-ansible-code-gn7 
 And in case you're interested in this particular journey of mine:

https://mastodon.online/@vwbusguy/111055116489995750