I’m trying to get started with Jupyter, using it to document an Ansible project that I’m developing in Visual Studio Code on macOS.
I have over fifty years of experience with software, but I’m new to Ansible, Visual Studio and Jupyter, so the scope for screwing things up is considerable
I have identified the cells that I think I need: Ansible, Bash/Shell Script, and Markdown. I have added the appropriate kernels (Ansible, Bash) and VScode extensions (Jupyter, Python) and everything seems to work. Except it doesn’t.
So, my questions:
-
Would I be better off trying to use Jupyter notebook directly (from the browser) rather than through VScode?
-
Why does the Bash Kernel suppress stdout in a Shell Script cell? I can do that in the shell commands themselves if I want to.
-
With Bash Kernel, why doesn’t the Bash magic
%%bash
switch stdout back on as opposed to generating an error (bash: fg: %%bash: no such job
)? -
How do I remove the Bash Kernel entirely from my configuration? I’ve tried completely deleting my
venv
folder, but Bash Kernel reappears when I recreate the venv.
All I want to do is to describe my Ansible playbooks, roles, etc. and document how to invoke them from the command line.