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

Template value of debugger and then check for validity #53587

Open
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
2 participants
@worzel666
Copy link

worzel666 commented Mar 9, 2019

SUMMARY

Allow debugger to accept a templated value

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

lib/ansible/playbook/base.py

ADDITIONAL INFORMATION

Allow a variable to be defined to specify what behaviour to expect from debugger, so that debugging statements may be kept in the code base
before:

fatal: [localhost]: FAILED! => {"msg": "'{{ thing_debugger }}' is not a valid value for debugger. Must be one of always, on_unreachable, never, on_skipped, on_failed"}

after, when thing_debugger is set to always:

[localhost] TASK: Gathering Facts (debug)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.