redhat-cop / infra.controller_configuration

GNU General Public License v3.0
1 stars 4 forks source link

Workflow nodes duplication after import #7

Open przemkalit opened 1 week ago

przemkalit commented 1 week ago

Summary

Importing workflows that already exist on the target controller, where the same workflows were manually created, results in duplicate nodes due to differences in identifiers.

Issue Type

Ansible, Collection, Controller details

N/A

OS / ENVIRONMENT

N/A

Desired Behavior

Imported workflows are having proper set of nodes.

Actual Behavior

Imported workflows have a duplicated nodes.

STEPS TO REPRODUCE

1) Create Workflow A in a first environment with set of nodes of job templates. 2) Create Workflow A in a second environment with the same set of nodes of job templates in first environment. 3) Export Workflow A from first. 4) Import Workflow A to a second. 5) Check Workflow A on a second.

djdanielsson commented 1 week ago

Please provide the ansible, collection and controller versions

przemkalit commented 1 week ago
collections:
ansible.controller 4.5.12
infra.controller_configuration 2.11.0

Ansible version 2.15

Controller version 4.5.6