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

Add default option to plugin get_option #48042

Conversation

pmarques
Copy link
Contributor

@pmarques pmarques commented Nov 3, 2018

SUMMARY

Add a default option/value to get_option() implementation of Ansible plugins (configurations)

This allow us to define a default option when tying to get a value using the native (dictionary) getter.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

lib/ansible/plugins

@ansibot
Copy link
Contributor

ansibot commented Nov 3, 2018

Hi @pmarques, thank you for submitting this pull-request!

click here for bot help

@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 community_review In order to be merged, this PR must follow the community review workflow. feature This issue/PR relates to a feature request. needs_triage Needs a first human triage before being processed. small_patch support:community This issue/PR relates to code supported by the Ansible community. labels Nov 3, 2018
@pmarques pmarques closed this Nov 3, 2018
@pmarques
Copy link
Contributor Author

pmarques commented Nov 3, 2018

Not need, done by resolved’configuration

@bcoca bcoca removed needs_triage Needs a first human triage before being processed. labels Nov 5, 2018
@ansible ansible locked and limited conversation to collaborators Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.8 This issue/PR affects Ansible v2.8 community_review In order to be merged, this PR must follow the community review workflow. feature This issue/PR relates to a feature request. small_patch support:community This issue/PR relates to code supported by the Ansible community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants