Review abstracts and headings in Managing hosts#4712
Review abstracts and headings in Managing hosts#4712aneta-petrova wants to merge 25 commits intotheforeman:masterfrom
Conversation
1ea9528 to
63ea89f
Compare
63ea89f to
9b2dd4e
Compare
9b2dd4e to
7a3d011
Compare
guides/common/modules/con_adding-content-to-a-host-collection.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_adding-errata-to-a-host-collection.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_adding-packages-to-a-host-collection.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_applying-errata-to-hosts-by-using-cli.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_applying-errata-to-hosts-by-using-web-ui.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_using-the-api-to-obtain-ssh-keys-for-remote-execution.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-hosts-to-next-major-release.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_upgrading-hosts-to-next-major-release.adoc
Outdated
Show resolved
Hide resolved
...on/modules/proc_setting-an-alternative-directory-for-remote-execution-jobs-in-push-mode.adoc
Outdated
Show resolved
Hide resolved
...on/modules/proc_setting-an-alternative-directory-for-remote-execution-jobs-in-pull-mode.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_scheduling-a-recurring-ansible-job-for-a-host-group.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_restarting-applications-on-a-host.adoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Maximilian Kolb <mail@maximilian-kolb.de>
There was a problem hiding this comment.
I would appreciate tech ACK for this change.
There was a problem hiding this comment.
Hi @jeremylenz and/or @nofaralfasi, can you please review this change to an abstract? Does it summarize why a user would be interested in applying host groups?
...on/modules/proc_changing-the-lifecycle-environment-or-content-view-of-a-host-collection.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_generating-host-monitoring-reports-by-using-cli.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_generating-host-monitoring-reports-by-using-web-ui.adoc
Outdated
Show resolved
Hide resolved
| [role="_abstract"] | ||
| You can import all the available Ansible Playbooks to {Project} from collections installed on {SmartProxy}. | ||
| You can import all available Ansible Playbooks to {Project} from collections installed on {SmartProxy}. | ||
| {Project} creates a job template from each playbook so you can run them on hosts via remote execution without writing templates manually. |
There was a problem hiding this comment.
| {Project} creates a job template from each playbook so you can run them on hosts via remote execution without writing templates manually. | |
| {Project} creates a job template from each playbook so you can run them on hosts through remote execution without writing templates manually. |
There was a problem hiding this comment.
Actually, there's a REX job template that does exactly this: take input and run it; the input is an Ansible playbook.
There was a problem hiding this comment.
But the new line in the abstract is correct, isn't it? It seems to summarize the contents of the module so it looks correct to me.
There was a problem hiding this comment.
I don't think so. I ran the following steps on Foreman 3.16/Katello 4.18 to try to reproduce this:
-
Sync Ansible collection
url: https://galaxy.ansible.com/
requirements:--- collections: - name: nextcloud.admin version: 2.3.1
-
Check all job templates for any org/loc under hosts > templates > job templates
-
Check via monitor > jobs > check all "Ansible *" categories.
Based on that line, I would have expected a job template under Ansible Playbooks but there's none.
-> {Project} creates a job template from each playbook looks wrong to me.
more thoughts:
-> content > content types > Ansible collections seems to provide some read-only information but they did not help me much. It's unclear what that's for:
-> https://docs.theforeman.org/nightly/Managing_Content/index-katello.html#Managing_Ansible_Content_content-management lacks information on why to do this.
There was a problem hiding this comment.
Agree that "creates a job template from each playbook" doesn't sound correct. I'm sure Adam will have more to say.
There was a problem hiding this comment.
Huh, looking at the code we actually seem to have something like that, but only accessible through api (and it doesn't use katello's ansible-collection syncing). Considering noone seems to know its there and whether and how it works, maybe we shouldn't document it?
There is one other flow that can "import playbooks" - when you import roles it can also sort of pick up playbooks as well, but they will appear as ansible roles (not job templates) and sadly will break things when (relevant community thread) .
There was a problem hiding this comment.
I can de-emphasize summarizing the contents of the module and instead focus on why this is relevant to users.
@adamruzicka Can you please review the new version of the abstract?
There was a problem hiding this comment.
I am unsure about this. Would appreciate a tech ACK.
There was a problem hiding this comment.
@adamruzicka Can you please review this abstract?
Co-authored-by: Maximilian Kolb <mail@maximilian-kolb.de>
Co-authored-by: Maximilian Kolb <mail@maximilian-kolb.de>
maximiliankolb
left a comment
There was a problem hiding this comment.
Looks good so far; three more minor suggestion & one open thread remain.
119/120.
guides/common/modules/proc_changing-the-host-group-of-a-host.adoc
Outdated
Show resolved
Hide resolved
...on/modules/proc_changing-the-lifecycle-environment-or-content-view-of-a-host-collection.adoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Maximilian Kolb <mail@maximilian-kolb.de>
|
A couple of clarifying questions, one very polite pushback on the whole via/through issue :) (https://github.com/theforeman/foreman-documentation/pull/4712/changes#r2960387106). I still need to find someone to tech review the updates where @maximiliankolb asked for an additional tech check. |
I am OK either way! |
guides/common/modules/con_adding-content-to-a-host-collection.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_transport-modes-for-remote-execution.adoc
Outdated
Show resolved
Hide resolved
| [role="_abstract"] | ||
| You can import all the available Ansible Playbooks to {Project} from collections installed on {SmartProxy}. | ||
| You can import all available Ansible Playbooks to {Project} from collections installed on {SmartProxy}. | ||
| {Project} creates a job template from each playbook so you can run them on hosts via remote execution without writing templates manually. |
There was a problem hiding this comment.
Agree that "creates a job template from each playbook" doesn't sound correct. I'm sure Adam will have more to say.
guides/common/modules/proc_removing-content-from-a-host-collection.adoc
Outdated
Show resolved
Hide resolved
Update the reasoning for choosing transport modes to describe actual decision criteria (scalability vs. port restrictions) rather than circular descriptions of what each mode does. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fix host collection and errata terminology Change "adding errata/content to host collections" to "applying errata" to accurately reflect that errata application is a remote execution operation, not adding content to collections. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Rename a module Rename a module Fix wording for installing packages on hosts in a host collection
Co-authored-by: Jeremy Lenz <jlenz@redhat.com>
Co-authored-by: Maximilian Kolb <mail@maximilian-kolb.de>
Co-authored-by: Jeremy Lenz <jlenz@redhat.com>
nofaralfasi
left a comment
There was a problem hiding this comment.
I’d like to review this PR after addressing Jeremy’s comments (not all of them have been resolved yet). In addition, I think it would be best to get a review from someone on the Rocket team, especially for the network documentation part - perhaps Leos or Shim.
I also added a few small comments.
guides/common/modules/proc_restarting-applications-on-a-host.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_applying-errata-to-hosts-in-a-host-collection.adoc
Show resolved
Hide resolved
guides/common/modules/proc_installing-packages-on-hosts-in-a-host-collection.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/con_managing-host-content-with-host-collections.adoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Maximilian Kolb <mail@maximilian-kolb.de>
guides/common/modules/proc_removing-content-from-hosts-in-a-host-collection.adoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Maximilian Kolb <mail@maximilian-kolb.de>
846daca to
c5afe2e
Compare
|
I believe I've addressed all concerns. There are some pending requests for re-review. Thanks, everyone, for your inputs so far! |
What changes are you introducing?
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
This is a downstream requirement
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
.cursor/commands/abstract.mdcommand for most of the changes to abstracts.cursor/commands/heading.mdcommand for most of the changes to headings (Add cursor commands for heading review #4714)Contributor checklists
Please cherry-pick my commits into: