Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR status_handler() got an unexpected keyword argument runner_config #25

Closed
opcache opened this issue Oct 10, 2019 · 2 comments
Closed

Comments

@opcache
Copy link

opcache commented Oct 10, 2019

2019-10-10 07:04:32 | ERROR - status_handler() got an unexpected keyword argument 'runner_config'
Traceback (most recent call last):
File "/usr/local/python37/lib/python3.7/site-packages/ansible_api/controller.py", line 106, in post
response = await loop.run_in_executor(pool, self.run, target, name, module, arg, cb)
File "/usr/local/python37/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/python37/lib/python3.7/site-packages/ansible_api/controller.py", line 119, in run
event_handler=cb.event_handler, status_handler=cb.status_handler
File "/usr/local/python37/lib/python3.7/site-packages/ansible_runner/interface.py", line 162, in run
r.run()
File "/usr/local/python37/lib/python3.7/site-packages/ansible_runner/runner.py", line 93, in run
self.status_callback('starting')
File "/usr/local/python37/lib/python3.7/site-packages/ansible_runner/runner.py", line 86, in status_callback
self.status_handler(status_data, runner_config=self.config)
TypeError: status_handler() got an unexpected keyword argument 'runner_config'

这个是要配置什么?

@opcache opcache changed the title ERROR - status_handler() got an unexpected keyword argument runner_config ERROR status_handler() got an unexpected keyword argument runner_config Oct 10, 2019
@lfbear
Copy link
Owner

lfbear commented Oct 30, 2019

please show me the version of ansible and ansible-runner

@lfbear
Copy link
Owner

lfbear commented Oct 30, 2019

same as #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants