Add some --no-* options #32226
Open
Add some --no-* options #32226
+9
−2
Conversation
cc @sivel would updating the args parsing lib give us these options also? |
It wouldn't magically give us The argparse work is still something I want to pick back up, but will have to wait a bit longer, and may not make it for 2.5 |
rebased |
There are some defaults that can be set in `ansible.cfg` that cannot be currently undone with command line options. This commit adds `--no-ask-vault-pass`, `--no-become`, `--no-ask-become-pass` allowing the corresponding `ansible.cfg` options to be overridden. Fixes #14150
rebased |
assigned to sivel as we are rewriting CLI options parsing for 2.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
SUMMARY
There are some defaults that can be set in
ansible.cfg
that cannot becurrently undone with command line options. This commit adds
--no-ask-vault-pass
,--no-become
,--no-ask-become-pass
allowingthe corresponding
ansible.cfg
options to be overridden.Fixes #14150
ISSUE TYPE
COMPONENT NAME
cli
ANSIBLE VERSION
ADDITIONAL INFORMATION