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

Make the compound schema a JSON definition #5

Open
shaded-enmity opened this issue Oct 12, 2018 · 1 comment
Open

Make the compound schema a JSON definition #5

shaded-enmity opened this issue Oct 12, 2018 · 1 comment

Comments

@shaded-enmity
Copy link
Owner

Currently only the common "generic" types like number, truth etc are handled using definitions.

To enable using the schemas in a context of tasks embedded into roles and playbooks we should make the main schema a definition as well that we can further reference from sub schemas.

@ssbarnea
Copy link

I didn't had time to check how Ansible schema looks but based on my brief experience with other schemas this is something I was expecting.

For example, the "block" element is allowed as a task but it can contain other tasks and nobody sane is expected to define what is acceptable as a task twice :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants