-
Notifications
You must be signed in to change notification settings - Fork 561
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
MUNI_TECH_WRITERS: Better documented local collections for playbooks #1129 #1315
MUNI_TECH_WRITERS: Better documented local collections for playbooks #1129 #1315
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. |
Installing collections adjacent to playbooks | ||
-------------------------------------------- | ||
|
||
.. include:: ../shared_snippets/installing_collections_playbooks.txt |
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.
Hi @Devids10 I think the idea is to get rid of the shared snippets .txt file and put the content directly in the .rst file.
ace8404
to
a2641f4
Compare
…n anchor to the new section
@oraNod I think this is what you all were thinking about. |
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 better @Devids10 Thanks for the updates. Left some comments.
-------------------------------------------- | ||
|
||
You can install collections locally next to your playbooks inside your project instead of in a global location on your system or on your AWX. | ||
This approach has these added benefits: |
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.
This approach has these added benefits: | |
Using locally installed collections adjacent to playbooks has some benefits, such as: |
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.
Please add an empty line above this to separate it from the first sentence.
|
||
You can install collections locally next to your playbooks inside your project instead of in a global location on your system or on your AWX. | ||
This approach has these added benefits: | ||
* Ensures that all users of the project use the same collection version. |
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.
A tip with list items is to use parallelism. The starting verb in each list item should use the same tense.
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. Thanks @Devids10
Backport to stable-2.15: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply ba04139 on top of patchback/backports/stable-2.15/ba04139aaa7a178eed1ccda037f962bea1dd5594/pr-1315 Backporting merged PR #1315 into devel
🤖 @patchback |
Backport to stable-2.14: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply ba04139 on top of patchback/backports/stable-2.14/ba04139aaa7a178eed1ccda037f962bea1dd5594/pr-1315 Backporting merged PR #1315 into devel
🤖 @patchback |
Backport to stable-2.16: 💚 backport PR created✅ Backport PR branch: Backported as #1380 🤖 @patchback |
…1129 (#1315) * feat: remove the reused snippet * feat: add new shared_snippet and add description of local installation next to playbooks * feat: add new section for installing collections locally * fix: fix nox check error * fix: remove shared txt files, add them to their included space, add an anchor to the new section * fix: comments from the pull request --------- Co-authored-by: Dávid Németh <[email protected]> (cherry picked from commit ba04139)
Backport to stable-2.17: 💚 backport PR created✅ Backport PR branch: Backported as #1381 🤖 @patchback |
…1129 (#1315) * feat: remove the reused snippet * feat: add new shared_snippet and add description of local installation next to playbooks * feat: add new section for installing collections locally * fix: fix nox check error * fix: remove shared txt files, add them to their included space, add an anchor to the new section * fix: comments from the pull request --------- Co-authored-by: Dávid Németh <[email protected]> (cherry picked from commit ba04139)
This is great, thanks! I opened #1315 to review and remove some more of these shared snippets. I put the muni writers label on it, but I don't know if there's still time in the schedule for folks to take that one on. |
This is a solution for the issue #1129.