You can do literate DevOps: http://howardism.org/Technical/Emacs/literate-devops.html
I really like Howard’s tone (and emacs knowledge!) when he’s sharing knowledge (eg the video linked in the linked article).
It was really fascinating when I found his videos the first time a few years ago - very recommendable!