Comments (1)
Answering my own question... The output comes from the big if statement in function runner_process_message in kernel.py. Events of type runner_on_start are not handled and therefore fall through to the else statement that outputs the message to stdout. I've added a clause
elif event == 'runner_on_start':
pass
I don't pretend this is the right thing to do as I don't really understand the purpose of outputting some of these messages and not others, but it solves my immediate problem and that's good enough for me. It may help others who hit the same problem...
Edit: I just realized this edit was in fact already done in the last commit to kernel.py a year ago. But it was not pushed to pypi so if you install with pip you don't get it. It might be better to install this package from a local checkout.
from ansible-jupyter-kernel.
Related Issues (20)
- Multiple unexpected messages are returned from roles HOT 2
- Add #summary to end play context and print a summary of the tasks
- Add #python cell type HOT 1
- Ansible Kernel 0.8.0 did not work with Python3
- Python variable not accessible in a Ansible task HOT 1
- Getting the output of tasks on multiple hosts HOT 3
- In case of Python 3.6, register variable error occurs. HOT 1
- Unable to retrieve file contents HOT 5
- How to become? HOT 1
- Jupyterhub/lab ; Python 3.6 : using #vault_password throws type error HOT 3
- Compatibility with MacOSX and python 3.7 HOT 2
- Shared resources across notebooks.
- AttributeError: 'AnsibleKernel' object has no attribute 'user_ns' HOT 2
- Unable to ping: after installation ansible_kernel using pip3
- Release 0.9.1 (or 0.10.0) on pypi? HOT 1
- Excessive files in /tmp HOT 1
- copy link file BUG !
- Docker image tag lags behind PyPI releases, and contains deprecated dependencies
- pip install fails on python3.12 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-jupyter-kernel.