Skip to content

docs(mtv_provider): justify openssl x509 command task - #120

Closed
vvaldez wants to merge 2 commits into
redhat-cop:v2from
vvaldez:docs/mtv-provider-command-justification
Closed

vvaldez wants to merge 2 commits into
redhat-cop:v2from
vvaldez:docs/mtv-provider-command-justification

Conversation

@vvaldez

@vvaldez vvaldez commented Oct 26, 2026 •

Copy link
Copy Markdown

What

Adds the justification comment required for command/shell tasks above the openssl x509 DER-to-PEM conversion in roles/mtv_provider/tasks/validate.yml. community.crypto.x509_certificate_convert (a pinned dependency, >=2.26.0) performs the same conversion but writes to a dest_path file; the command stays because this task captures PEM on stdout via register for direct fact storage.

Why

Found in an /ansibleize-patterns audit — every command/shell task carries a justification comment documenting the module search; this was the one gap.

Closes #119

Test plan

  • ansible-lint green on the changed files
  • Comment-only change: no behavior change

Attribution: created using opencode (session: ses_ed904e798ffeTYJVsSCQP9sbvM)

Every command/shell task carries a justification comment; this one
(DER-to-PEM certificate conversion, no module replacement) was the one
gap found in an /ansibleize-patterns audit.

Closes redhat-cop#119

Assisted-by: opencode:publishers/prelude-maas/models/glm-53-flash
@vvaldez
vvaldez requested a review from sabre1041 as a code owner October 26, 2026 16:23
@vvaldez vvaldez self-assigned this Oct 26, 2026
Review caught that the original justification claim was wrong:
community.crypto.x509_certificate_convert (a pinned dependency)
performs the conversion. The command stays for its stdout-capture
design — the module writes to a dest_path file, while this task
registers PEM on stdout for direct fact storage. Reword the comment
and the changelog fragment to the true reason.

Assisted-by: opencode:publishers/prelude-maas/models/glm-53-flash

@tech2734 tech2734 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@sabre1041

Copy link
Copy Markdown
Contributor

This item would not be needed with the incorporation of #124

@sabre1041 sabre1041 closed this Nov 6, 2026
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.

3 participants