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

Remove requirement of options field in argument_specs.yaml #4291

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

MatthiasKunnen
Copy link
Contributor

This allows for argument_specs.yaml to exist solely of examples and documentation.

This allows for argument_specs.yaml to exist solely of examples and
documentation.
@MatthiasKunnen MatthiasKunnen requested a review from a team as a code owner August 12, 2024 03:11
@MatthiasKunnen MatthiasKunnen requested review from TamiTakamiya and tanwigeetika1618 and removed request for a team August 12, 2024 03:11
Copy link

@ziegenberg
Copy link
Contributor

The following argument_specs.yaml works, explicitly documenting that there are no options.

---
argument_specs:
  main:
    short_description: A role with only documentation and no options should be valid
    options: {}

@MatthiasKunnen
Copy link
Contributor Author

If the consensus is that this behavior is expected, this PR can be closed.

@ssbarnea ssbarnea merged commit cd3dbd0 into ansible:main Sep 19, 2024
26 checks passed
@MatthiasKunnen MatthiasKunnen deleted the role-arg-spec-options-required branch October 1, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants