File tree Expand file tree Collapse file tree 4 files changed +51
-1
lines changed
roles/workflow_job_templates/tasks Expand file tree Collapse file tree 4 files changed +51
-1
lines changed Original file line number Diff line number Diff line change @@ -138,4 +138,7 @@ differential_items:
138
138
- name : Simple workflow schema2
139
139
organization : Default
140
140
state : absent
141
+ - name : Simple workflow schema no state defined
142
+ organization : Default
143
+ state : absent
141
144
...
Original file line number Diff line number Diff line change @@ -73,4 +73,47 @@ controller_workflows:
73
73
notification_templates_success : []
74
74
notification_templates_error : []
75
75
notification_templates_approvals : []
76
+ - name : Simple workflow schema no state defined
77
+ description : a basic workflow
78
+ extra_vars : {}
79
+ survey_enabled : false
80
+ allow_simultaneous : false
81
+ ask_variables_on_launch : false
82
+ inventory :
83
+ limit :
84
+ job_tags :
85
+ - stuff
86
+ - stuff2
87
+ skip_tags :
88
+ - stuff3
89
+ ask_labels_on_launch : true
90
+ ask_skip_tags_on_launch : true
91
+ labels :
92
+ - Prod
93
+ scm_branch :
94
+ ask_inventory_on_launch : false
95
+ ask_scm_branch_on_launch : false
96
+ ask_limit_on_launch : false
97
+ organization : Default
98
+ schedules : []
99
+ simplified_workflow_nodes :
100
+ - all_parents_must_converge : false
101
+ identifier : node101
102
+ unified_job_template : RHVM-01
103
+ success_nodes :
104
+ - node201
105
+ - all_parents_must_converge : false
106
+ identifier : node201
107
+ unified_job_template : test-template-1
108
+ instance_groups :
109
+ - default
110
+ labels :
111
+ - differential
112
+ - differential2
113
+ timeout : 165
114
+ notification_templates_started : []
115
+ notification_templates_success : []
116
+ notification_templates_error : []
117
+ notification_templates_approvals : []
118
+ survey_spec : {}
76
119
...
Original file line number Diff line number Diff line change
1
+ bugfixes :
2
+ - Enable the ability to define simple_workflow_nodes on workflow_job_templates
3
+ without the need to set the `state` on a workflow_job_template
4
+ (https://github.com/redhat-cop/controller_configuration/issues/297).
Original file line number Diff line number Diff line change 75
75
loop_var : __workflow_loop_item
76
76
when :
77
77
- __workflow_loop_item.simplified_workflow_nodes is defined
78
- - __workflow_loop_item.state == "present"
78
+ - ( __workflow_loop_item.state | default('present')) == "present"
79
79
...
You can’t perform that action at this time.
0 commit comments