Usually when we are developing some Python code it’s convenient to use the Jupyter Notebook tool to test some block of code without having to create scripts, projects, etc.
That’s why there is a GitHub project(from ben thomasson) that I find very interesting that allows to use Jupyter Noterbook to run Ansible code blocks to test our code before an implementation, which sometimes is super useful.
The Ansible Jupyter Kernel adds a kernel backend for Jupyter to interface directly with Ansible and construct plays and tasks and execute them on the fly.
GitHub project:
https://github.com/ansible/ansible-jupyter-kernel
Video:
Run Ansible Tasks from a Jupyter Notebook! from ben thomasson on Vimeo.