Skip to content

Add modular RMT documentation with Ansible-based configuration - #737

Open
ngetahun wants to merge 13 commits into
SUSE:mainfrom
ngetahun:rmt-ansible-modular-port
Open

Add modular RMT documentation with Ansible-based configuration#737
ngetahun wants to merge 13 commits into
SUSE:mainfrom
ngetahun:rmt-ansible-modular-port

Conversation

@ngetahun

Copy link
Copy Markdown

Summary

Ports the Repository Mirroring Tool (RMT) documentation into the modular topic-based format as three Smart Doc articles. The modular repo previously had no RMT documentation.

Content is migrated from the SLE RMT Guide (doc-sle) and updated for the new ansible-rmt-server playbook workflow, replacing the YaST-based setup — this is a modular port of SUSE/doc-sle#1945.

Articles added

Article Assembly / DC
Installing and configuring an RMT server articles/rmt-installing-configuring.asm.xml
Mirroring repositories on an RMT server articles/rmt-mirroring-repositories.asm.xml
Migrating from SMT to RMT articles/rmt-migrating-from-smt.asm.xml

25 topics (tasks/concepts/references/glues) + 3 assemblies + 3 DC files + 2 images.

Key changes carried over from the source PR

  • Installation: ansible-rmt-server package instead of yast2-rmt
  • Configuration: new &ansible; playbook section (ansible-playbook site.yml, group_vars/all.yml)
  • Certificate management: regeneration via the Ansible playbook (--tags certificates)
  • Credentials & SMT import: configured through Ansible variables
  • Removed the entire YaST configuration workflow

Notes

  • Cross-references to chapters not ported (RMT client setup, rmt-cli reference) link to the online RMT Guide.
  • Missing entities substituted (&prompt.root.sun;/&prompt.root.sirius;&prompt.root;); the two required images were fetched from doc-sle.
  • maintainer/assignee metadata are left as placeholders and should be filled in before publishing.

Test plan

  • All three articles pass daps validate (DAPS 4 + geekodoc): Document is valid.
  • All three render to HTML with images and Ansible content intact

🤖 Generated with Claude Code

Port the Repository Mirroring Tool (RMT) documentation into the modular
topic-based format as three Smart Doc articles:

- Installing and configuring an RMT server
- Mirroring repositories on an RMT server
- Migrating from SMT to RMT

Content is migrated from the SLE RMT Guide (doc-sle) and updated for the
new ansible-rmt-server playbook workflow, replacing the YaST-based setup
(port of SUSE/doc-sle#1945). Cross-references to un-ported chapters point
to the online RMT Guide. All three articles pass DAPS 4 + geekodoc
validation and render to HTML.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Amrita42 Amrita42 self-assigned this Jul 22, 2026
@Amrita42

Copy link
Copy Markdown
Contributor

Update: So I have cloned your forked repo and I am adding changes where needed. Once this is done , a team member will review for grammar/style.

Amrita42 and others added 8 commits July 24, 2026 14:48
SMT customers run SLES 12 SP5, which has no migration path to 16, so
the article is out of scope for this doc set. The SLES 15 version
remains in doc-sle (xml/rmt_migrate_from_smt.xml).
The ansible playbook has no certificates tag, and the server
certificate it generates is self-signed, carries no common name or
subject alternative names, and is overwritten on every run.
These articles document the ansible-based configuration, which is the
16 workflow. Say so explicitly and mark the links to the 15 guide as
the yast-configured version.
@Amrita42

Copy link
Copy Markdown
Contributor

@lvicoun @dariavladykina please review and provide your feedback. thanks

@dariavladykina dariavladykina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Amrita, please see my editorial review. Thanks!

Comment thread articles/rmt-installing-configuring.asm.xml Outdated
Comment thread articles/rmt-installing-configuring.asm.xml Outdated
Comment thread tasks/rmt-installing-existing-system.xml Outdated
Comment thread tasks/rmt-installing-existing-system.xml Outdated
Comment thread tasks/rmt-configuring-with-ansible.xml Outdated
Comment thread tasks/rmt-configuring-with-ansible.xml Outdated
Comment thread tasks/rmt-installing-during-installation.xml
Comment thread articles/rmt-installing-configuring.asm.xml Outdated
Comment thread articles/rmt-installing-configuring.asm.xml Outdated
Comment thread tasks/rmt-installing-during-installation.xml Outdated

@lvicoun lvicoun left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Amrita,
please see my suggestions. What I haven't pointed is that I think most of the topics do not contain the maintainer.

<term>REQUIREMENTS</term>
<listitem>
<itemizedlist>
<listitem><para>A newly installed &productname;&nbsp;&productnumber; system or &minvm; image to host the &rmt; server. </para></listitem>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually not true as you just need a machine as you can install the RMT during the system installation.

<itemizedlist>
<listitem><para>A newly installed &productname;&nbsp;&productnumber; system or &minvm; image to host the &rmt; server. </para></listitem>
<listitem><para>Valid &scc; organization credentials. </para></listitem>
<listitem><para>Sufficient local storage space (approximately 1.5 times the size of all enabled repositories). </para></listitem>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You cover that later, so decide if the proper value should be mentioned here or in the corresponding section.

xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:trans="http://docbook.org/ns/transclusion">
<info>
<title>Introduction</title>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to rework this section to cover only supported clients as the installation info is needed in the installation sections - here it may be easily skipped.

<title>Introduction</title>
<meta name="maintainer" content="" its:translate="no"/>
</info>
<para>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this para is not necessary and can be completely omitted.

</para>
<para>
The &rmt; server registers client systems running &slea;&nbsp;12 and newer,
including &productname;&nbsp;&productnumber; itself. To run the &rmt;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it is really needed to point the user to another release. The release number is there from whatever source you come to the article.

<tip>
<title>Manually remove repository data</title>
<para>
To delete disabled repository data, manually remove its corresponding

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To delete disabled repository data, manually remove its corresponding
To manually delete disabled repository data, remove its corresponding

</para>
</abstract>
</info>
<para>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to moving this para into the abstract.

</abstract>
</info>
<para>
You can mirror custom repositories with the &rmt; server. These

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest moving this to the abstract.


<para>
To get a list of all available custom repositories commands, see
<link xlink:href="https://documentation.suse.com/sles/15-SP7/single-html/SLES-rmt/#sec-rmt-tools-rmt-cli">the <command>rmt-cli</command> command reference</link>.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this reference. We need to migrate the info.

<itemizedlist>
<listitem>
<para>
<link xlink:href="https://documentation.suse.com/sles/15-SP7/single-html/SLES-rmt/#sec-rmt-tools-rmt-cli">The <command>rmt-cli</command> command reference</link>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not point to SLES 15 documentation.

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

Successfully merging this pull request may close these issues.

4 participants