Configuration management project structure adaptation

US12530190B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12530190-B2
Application numberUS-202318138214-A
CountryUS
Kind codeB2
Filing dateApr 24, 2023
Priority dateApr 24, 2023
Publication dateJan 20, 2026
Grant dateJan 20, 2026

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure provides new and innovative systems and methods for automatically modifying configuration management projects. In an example, a computer-implemented method includes analyzing code from a configuration management project, identifying parallel and duplicate structures in the code, and modifying the code to condense the parallel and duplicate structures into a plurality of roles that can be referenced by a playbook.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method comprising: hashing a first structure and a second structure in source code from a configuration management project to generate a first hashed value corresponding to the first structure and a second hashed value corresponding to the second structure, the source code of the configuration management project comprising a playbook executable to perform a sequence of tasks; determining, based at least on a comparison of the first hashed value and the second hashed value, that the second structure in the source code exceeds a predefined threshold of similarity with respect to the first structure; and generating a role configured to replace at least the first structure and the second structure in the source code; and generating a modified version of the playbook by replacing the first structure and the second structure with a reference to the role. 2 . The method of claim 1 , further comprising: executing a ruleset to identify the first structure and the second structure in the source code. 3 . The method of claim 1 , wherein the role comprises a forked structure in the source code configured to interchangeably execute a first section of the source code corresponding to the first structure and a second section of the source code corresponding to the second structure. 4 . The method of claim 1 , wherein determining that the second structure in the source code exceeds the predefined threshold of similarity with respect to the first structure further comprises detecting that a set of structural patterns is in common between a first section of the source code corresponding to the first structure and a second section of the source code corresponding to the second structure. 5 . The method of claim 1 , further comprising: outputting a user interface configured to receive user input to approve a recommended change to the source code, wherein the recommended change comprises replacing the first structure and the second structure with the reference to the role. 6 . The method of claim 5 , wherein the outputting comprises presenting a summary of the recommended change. 7 . The method of claim 5 , wherein the outputting comprises presenting an option to individually manage a modification of a version of the role. 8 . The method of claim 1 , wherein the role is configured to be called in place of the first structure and in place of the second structure. 9 . The method of claim 1 , wherein determining that the second structure in the source code exceeds the predefined threshold of similarity with respect to the first structure further comprises detecting that a percentage of text is in common between a first section of the source code corresponding to the first structure and a second section of the source code corresponding to the second structure. 10 . The method of claim 1 , further comprising: determining differences between the first structure and the second structure; and generating the role that iterates through a first version corresponding to the first structure and a second version corresponding to the second structure. 11 . The method of claim 1 , wherein the first structure is a different version of the second structure, and wherein the method further comprises generating the role configured to alter a variable value between a first iteration corresponding to the first structure and a second iteration corresponding to the second structure. 12 . A system, comprising: a memory; and a processing device, operatively coupled to the memory, to: hash a first structure and a second structure in source code from a configuration management project to generate a first hashed value corresponding to the first structure and a second hashed value corresponding to the second structure, the source code of the configuration management project comprising a playbook executable to perform a sequence of tasks; determine, based at least on a comparison of the first hashed value and the second hashed value, that the second structure in the source code exceeds a predefined threshold of similarity with respect to the first structure; generate a role configured to replace at least the first structure and the second structure in the source code; and generate a modified version of the playbook by replacing the first structure and the second structure with a reference to the role. 13 . The system of claim 12 , wherein the processing device is configured to: execute a ruleset to identify the first structure and the second structure in the source code. 14 . The system of claim 12 , wherein determining that the second structure in the source code exceeds the predefined threshold of similarity with respect to the first structure further comprises detecting that a set of structural patterns is in common between a first section of the source code corresponding to the first structure and a second section of the source code corresponding to the second structure. 15 . The system of claim 12 , wherein the processing device is configured to output a user interface configured to receive user input to approve a recommended change to the source code, wherein the recommended change comprises replacing the first structure and the second structure with the reference to the role. 16 . The system of claim 12 , wherein the role is configured to be called in place of the first structure and in place of the second structure. 17 . A non-transitory computer-readable storage medium storing instructions which, when executed by a processing device, cause the processing device to: hash a first structure and a second structure in source code from a configuration management project to generate a first hashed value corresponding to the first structure and a second hashed value corresponding to the second structure, the source code of the configuration management project comprising a playbook executable to perform a sequence of tasks; determine, based at least on a comparison of the first hashed value and the second hashed value, that the second structure in the source code exceeds a predefined threshold of similarity with respect to the first structure; generate a role configured to replace at least the first structure and the second structure in the source code; and generate a modified version of the playbook by replacing the first structure and the second structure with a reference to the role. 18 . The non-transitory computer-readable storage medium of claim 17 , wherein determining that the second structure in the source code exceeds the predefined threshold of similarity with respect to the first structure further comprises detecting that a set of structural patterns in common between a first section of the source code corresponding to the first structure and a second section of the source code corresponding to the second structure. 19 . The non-transitory computer-readable storage medium of claim 17 , wherein the instructions cause the processing device to output a user interface to receive user input to approve a recommended change to the source code, wherein the recommended change comprises replacing the first structure and the second structure with the reference to the role. 20 . The non-transitory computer-readable storage medium of claim 17 , wherein the role is configured to be called in place of the first structure and in place of the second structure.

Assignees

Inventors

Classifications

  • Parallelism detection · CPC title

  • G06F8/71Primary

    Version control (security arrangements therefor G06F21/57); Configuration management · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12530190B2 cover?
The present disclosure provides new and innovative systems and methods for automatically modifying configuration management projects. In an example, a computer-implemented method includes analyzing code from a configuration management project, identifying parallel and duplicate structures in the code, and modifying the code to condense the parallel and duplicate structures into a plurality of r…
Who is the assignee on this patent?
Red Hat Inc
What technology area does this patent fall under?
Primary CPC classification G06F8/71. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 20 2026 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).