-
Notifications
You must be signed in to change notification settings - Fork 546
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
Document the possibility of vars/main and defaults/main being directories #1320
Conversation
Thanks for your Ansible docs contribution! We talk about Ansible documentation on matrix at #docs:ansible.im and on libera IRC at #ansible-docs if you ever want to join us and chat about the docs! We meet there on Tuesdays (see the Ansible calendar) and welcome additions to our weekly agenda items - scroll down to find the upcoming agenda and add a comment to put something new on that agenda. |
@bcoca Would you mind lending your expertise on this one please? |
@radvalach Hi, it looks like this branch has some conflicts. Can you fix them and push again? If you have questions or doubts about resolving conflicts, let us know. |
…of custom main files
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.
Looks pretty good to me @radvalach I've some suggestions for grammar and style. For the accuracy of the details I'll rely on someone like @bcoca who knows this stuff much better.
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.
Thanks @radvalach! I read through and added a few thoughts, and in general I agree with bcoca - let's just reference the role structure in most places.
In general, I don't think we need to clarify main.yml vs main.yaml in most places because that's quite common. And the 'main' option is now complicated because within the vars dir etc, it can actually have any name.
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.
LGTM!
I can't merge this because of unrelated CI problems, but will as soon as we clear those up. Thanks again for the PR!
Backport to stable-2.15: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply 34bf3a4 on top of patchback/backports/stable-2.15/34bf3a4fc521568b3faf65b9926c54c3b5a8a7cb/pr-1320 Backporting merged PR #1320 into devel
🤖 @patchback |
Backport to stable-2.14: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply 34bf3a4 on top of patchback/backports/stable-2.14/34bf3a4fc521568b3faf65b9926c54c3b5a8a7cb/pr-1320 Backporting merged PR #1320 into devel
🤖 @patchback |
Thank @radvalach for the Ansible docs fix! |
Backport to stable-2.16: 💚 backport PR created✅ Backport PR branch: Backported as #1443 🤖 @patchback |
…ries (#1320) * feat: document the possibility of vars/main and defaults/main being directories * fix: add backslashes before "*" symbols to override their special meaning * fix: implement review feedback * fix: change documented possible main file extensions * fix: update feature to accommodate for recently merged documentation of custom main files * fix: move defaults/vars main directories explanation * fix: grammar and style changes * fix: replace "lexicographical" with "alphabetical" * fix: clarify the possibility of specifying custom file name * fix: replace spelling out options with ref to an explanation * fix: fix typo --------- Co-authored-by: Radim Valach <radim.valach@favorlogic.com> (cherry picked from commit 34bf3a4)
Backport to stable-2.17: 💚 backport PR created✅ Backport PR branch: Backported as #1444 🤖 @patchback |
…ries (#1320) * feat: document the possibility of vars/main and defaults/main being directories * fix: add backslashes before "*" symbols to override their special meaning * fix: implement review feedback * fix: change documented possible main file extensions * fix: update feature to accommodate for recently merged documentation of custom main files * fix: move defaults/vars main directories explanation * fix: grammar and style changes * fix: replace "lexicographical" with "alphabetical" * fix: clarify the possibility of specifying custom file name * fix: replace spelling out options with ref to an explanation * fix: fix typo --------- Co-authored-by: Radim Valach <radim.valach@favorlogic.com> (cherry picked from commit 34bf3a4)
…ries (#1320) (#1443) * feat: document the possibility of vars/main and defaults/main being directories * fix: add backslashes before "*" symbols to override their special meaning * fix: implement review feedback * fix: change documented possible main file extensions * fix: update feature to accommodate for recently merged documentation of custom main files * fix: move defaults/vars main directories explanation * fix: grammar and style changes * fix: replace "lexicographical" with "alphabetical" * fix: clarify the possibility of specifying custom file name * fix: replace spelling out options with ref to an explanation * fix: fix typo --------- Co-authored-by: Radim Valach <radim.valach@favorlogic.com> (cherry picked from commit 34bf3a4) Co-authored-by: radvalach <134097304+radvalach@users.noreply.github.com>
…ries (#1320) (#1444) * feat: document the possibility of vars/main and defaults/main being directories * fix: add backslashes before "*" symbols to override their special meaning * fix: implement review feedback * fix: change documented possible main file extensions * fix: update feature to accommodate for recently merged documentation of custom main files * fix: move defaults/vars main directories explanation * fix: grammar and style changes * fix: replace "lexicographical" with "alphabetical" * fix: clarify the possibility of specifying custom file name * fix: replace spelling out options with ref to an explanation * fix: fix typo --------- Co-authored-by: Radim Valach <radim.valach@favorlogic.com> (cherry picked from commit 34bf3a4) Co-authored-by: radvalach <134097304+radvalach@users.noreply.github.com>
This PR dresses the issue #79.
I added an explanation of how these files can be directories with an example. I also mentioned this possibility in relevant places.