You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the docs, ansible_runner.interface.run should accept a "settings" argument. This doesn't seem to work in reality though:
`#! /usr/bin/python3
import ansible_runner
ansible_runner.interface.run(playbook='/home/djuran/playbook.yaml',
settings={})
`
(env) [djuran@localhost ~]$ env/bin/python3 test.py
Traceback (most recent call last):
File "test.py", line 8, in
settings={})
File "/home/djuran/env/lib64/python3.6/site-packages/ansible_runner/interface.py", line 177, in run
r = init_runner(**kwargs)
File "/home/djuran/env/lib64/python3.6/site-packages/ansible_runner/interface.py", line 64, in init_runner
rc = RunnerConfig(**kwargs)
TypeError: init() got an unexpected keyword argument 'settings'
The text was updated successfully, but these errors were encountered:
According to the docs, ansible_runner.interface.run should accept a "settings" argument. This doesn't seem to work in reality though:
`#! /usr/bin/python3
import ansible_runner
ansible_runner.interface.run(playbook='/home/djuran/playbook.yaml',
settings={})
`
(env) [djuran@localhost ~]$ env/bin/python3 test.py
Traceback (most recent call last):
File "test.py", line 8, in
settings={})
File "/home/djuran/env/lib64/python3.6/site-packages/ansible_runner/interface.py", line 177, in run
r = init_runner(**kwargs)
File "/home/djuran/env/lib64/python3.6/site-packages/ansible_runner/interface.py", line 64, in init_runner
rc = RunnerConfig(**kwargs)
TypeError: init() got an unexpected keyword argument 'settings'
The text was updated successfully, but these errors were encountered: