-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Workflow with controller_state: absent failed #891
Comments
wbrandt-az
added
bug
Something isn't working
new
New issue, this should be removed once reviewed
labels
Aug 7, 2024
sorry it has taken so long to get to this, can you show the vars for one of the workflows? if I were to guess you have state present there which over rides that global option |
Many thanks to take this.
Playbook:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I create a project with credentials, project, job template and workflow templates using the infra.controlle_configuration collection.
For testing I create also a cleanup Playbook and set the variable
controller_state
toabsent
.It will remove all resources from my Organization except Workflows. due to a fix order of removing workflows (Workflow, Workflow-Node, Node-Links) it will fail at removing Workflow-Nodes due to missing Workflow, which was already removed.
Issue Type
Ansible, Collection, Controller details
Collection: infra.controller_configuration
OS / ENVIRONMENT
Desired Behavior
create Workflow using
collection: infra.controller_configuration.workflow_job_templates
with default variable value controller_state: present
remove Workflow using
collection: infra.controller_configuration.workflow_job_templates
with default variable value controller_state: absent
after step 2 the Workflow including Workflow Nodes are removed from Organization.
Actual Behavior
collection: infra.controller_configuration.workflow_job_templates
with default variable value controller_state: absent
=> Playbook will fail.
"msg": "The workflow SSR-add new customer team in organization WFTEST was not found on the controller instance server"
STEPS TO REPRODUCE
The text was updated successfully, but these errors were encountered: