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

Feature: Conditional Required Module-Args #134

Open
ansibleguy opened this issue Jan 5, 2025 · 0 comments
Open

Feature: Conditional Required Module-Args #134

ansibleguy opened this issue Jan 5, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@ansibleguy
Copy link
Owner

ansibleguy commented Jan 5, 2025

Description

We could move many conditional checks (value has to be set if state = present) to the native 'required_if' check.
Example: https://github.com/ansibleguy/collection_opnsense/blob/latest/plugins/modules/acme_certificate.py#L98

Note: This may have an impact on the raw python3 interface for those modules (https://github.com/O-X-L/opnsense-api-client)

@ansibleguy ansibleguy added enhancement New feature or request triage documentation Improvements or additions to documentation and removed triage labels Jan 5, 2025
@ansibleguy ansibleguy changed the title Feature: Conditional Required Feature: Conditional Required Module-Args Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant