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 a rule to validate module options #2749

Merged
merged 1 commit into from
Dec 8, 2022

Commits on Dec 8, 2022

  1. Add a rule to validate module options

    The new rule will validate the correctness
    of module options for tasks. The validation
    will check if the option name is valid and
    has correct value along with conditionals like
    * mutually_exclusive
    * required_together
    * required_one_of
    * required_if
    
    Note:
    *  For template values for options the data type validation will be ignored
    *  For modules that are implemented as action plugins the check includes
       if the option is correct and passes the data type check or not.
    ganeshrn authored and ssbarnea committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    1987698 View commit details
    Browse the repository at this point in the history