This document discusses using Jupyter Notebooks and Ansible together for literate computing and reproducible infrastructure. It introduces Jupyter Notebooks and their architecture including notebook extensions and server extensions. It then provides examples of specific notebook extensions developed at NII including code_cell_status and multi_outputs that add additional functionality. The document concludes by discussing how Ansible playbooks can be executed from Jupyter Notebooks to automate infrastructure configuration.