Skip to content

Commit

Permalink
Remove requirement of options field in argument_specs.yaml (#4291)
Browse files Browse the repository at this point in the history
Co-authored-by: Sorin Sbarnea <ssbarnea@redhat.com>
  • Loading branch information
MatthiasKunnen and ssbarnea committed Sep 19, 2024
1 parent 4e3058f commit cd3dbd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ansiblelint/schemas/role-arg-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@
"type": "string"
}
},
"required": ["options"],
"title": "Entry Point",
"type": "object"
},
Expand Down
4 changes: 4 additions & 0 deletions test/schemas/test/roles/description-only/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
argument_specs:
main:
short_description: A role with only documentation and no options should be valid

0 comments on commit cd3dbd0

Please sign in to comment.