Question: what file extension is j2?
Answer: A . j2 file is a text document containing the source code of an Ansible template written in the Jinja2 language. As such, it can be opened and directly edited in any text editor.