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

[v2] Prompt call generates unhandled exception in step mode #12833

Closed
bcsontos opened this issue Oct 20, 2015 · 1 comment
Closed

[v2] Prompt call generates unhandled exception in step mode #12833

bcsontos opened this issue Oct 20, 2015 · 1 comment
Assignees
Labels
bug This issue/PR relates to a bug. needs_info This issue requires further information. Please answer any outstanding questions.
Milestone

Comments

@bcsontos
Copy link

ansible-playbook dies with an unhandled exception when being run in step mode. Full output with traceback:

Using /etc/ansible/ansible.cfg as config file
1 plays in test.yaml

PLAY ***************************************************************************
Unexpected Exception: prompt() takes exactly 2 arguments (1 given)
the full traceback was:

Traceback (most recent call last):
  File "/opt/ansible/bin/ansible-playbook", line 80, in <module>
    sys.exit(cli.run())
  File "/opt/ansible/lib/ansible/cli/playbook.py", line 142, in run
    results = pbex.run()
  File "/opt/ansible/lib/ansible/executor/playbook_executor.py", line 140, in run
    result = self._tqm.run(play=play)
  File "/opt/ansible/lib/ansible/executor/task_queue_manager.py", line 217, in run
    return strategy.run(iterator, play_context)
  File "/opt/ansible/lib/ansible/plugins/strategy/linear.py", line 207, in run
    if self._take_step(task):
  File "/opt/ansible/lib/ansible/plugins/strategy/__init__.py", line 541, in _take_step
    resp = self._display.prompt(msg)
TypeError: prompt() takes exactly 2 arguments (1 given)
@jimi-c jimi-c added this to the v2 milestone Oct 20, 2015
@bcoca
Copy link
Member

bcoca commented Oct 21, 2015

can you give minimal example that triggers this?

@bcoca bcoca added the needs_info This issue requires further information. Please answer any outstanding questions. label Oct 21, 2015
@bcoca bcoca closed this as completed in 04aa770 Oct 21, 2015
@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 7, 2018
@ansible ansible locked and limited conversation to collaborators Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug. needs_info This issue requires further information. Please answer any outstanding questions.
Projects
None yet
Development

No branches or pull requests

4 participants