diff --git a/src/ansiblelint/schemas/role-arg-spec.json b/src/ansiblelint/schemas/role-arg-spec.json index 111fbe528b..50a7b7dfa3 100644 --- a/src/ansiblelint/schemas/role-arg-spec.json +++ b/src/ansiblelint/schemas/role-arg-spec.json @@ -219,7 +219,6 @@ "type": "string" } }, - "required": ["options"], "title": "Entry Point", "type": "object" }, diff --git a/test/schemas/test/roles/description-only/meta/main.yml b/test/schemas/test/roles/description-only/meta/main.yml new file mode 100644 index 0000000000..1e6dc8d800 --- /dev/null +++ b/test/schemas/test/roles/description-only/meta/main.yml @@ -0,0 +1,4 @@ +--- +argument_specs: + main: + short_description: A role with only documentation and no options should be valid