-
Notifications
You must be signed in to change notification settings - Fork 24k
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
docs: Proposal: list playbook keywords with "Applies to" flags #69656
Conversation
This is an interesting enhancement, thanks @moreati. We are in the midst of changing our docs pipeline to work with collections, so it may take us some time to get to this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some people prefer to look at it by the object, I would prefer to not replace the existing page but compliment it and have each link to each other.
I'll iterate the prototype on that basis |
I didn't iterate, and now the docs have moved to https://github.com/ansible/ansible-documentation/. As a rough and ready one off, I've generated a table https://gist.github.com/moreati/d7cb1573e8f00dd320d6569bb35b5f61. I may revisit this in a new PR to the migrated repo. |
SUMMARY
The playbook keywords reference is currently organised by category, then applicable keywords.
I propose reorganising this, to list all keywords at the top level, each with an "Applies to" block. The PR shows a demonstrator. It isn't intended to as a polished, styled final design.
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION
The motivations for this proposed reorganisation are
I hope the following table and screenshot illustrate the concept
Play
any_errors_fatal
[description]
become
[description]
...
Role
any_errors_fatal
[description]
become
[description]
...
action
Applies to: ✗ Play ✗ Role ✗ Block ✓ Task
[description]
always
Applies to: ✗ Play ✗ Role ✓ Block ✗ Task
[description]
...