Demos of using Jupyter Notebook calling shell commands.
stdout and stderr are captured and displayed in the notebook.
python -m pip install -r requirements.txtsource .venv/bin/activate
jupyter notebookNavigate to ansible.ipynb and run the cells.
open http://localhost:8888/notebooks/ansible.ipynbDeactivate the virtual environment.
deactivate