Skip to content

Commit

Permalink
Adapt Workflows docs to new schema and fix schedules
Browse files Browse the repository at this point in the history
- adapt workflow_job_templates' readme examples to new schema
- schedules defaults was missing an empty list
  • Loading branch information
ericzolf committed Jul 6, 2021
1 parent 09ae247 commit de4e462
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/schedules/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# These are the default variables specific to the license role

# list of dict describing Tower schedules:
controller_schedules:
controller_schedules: []
# possible fields:
# - name: "schedule_name" # mandatory
# new_name: "new_name" # optional
Expand Down
14 changes: 12 additions & 2 deletions roles/workflow_job_templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ controller_workflows:
identifier: node101
unified_job_template:
name: RHVM-01
type: job_template
organization:
name: Default
related:
success_nodes:
- workflow_job_template:
Expand All @@ -211,6 +214,9 @@ controller_workflows:
identifier: node201
unified_job_template:
name: test-template-1
type: job_template
organization:
name: Default
notification_templates_started: []
notification_templates_success: []
notification_templates_error: []
Expand Down Expand Up @@ -251,7 +257,9 @@ controller_workflows:
"all_parents_must_converge": false,
"identifier": "node101",
"unified_job_template": {
"name": "RHVM-01"
"name": "RHVM-01",
"type": "job_template",
"organization": { "name": "Default" }
},
"related": {
"credentials": [
Expand All @@ -277,7 +285,9 @@ controller_workflows:
"all_parents_must_converge": false,
"identifier": "node201",
"unified_job_template": {
"name": "test-template-1"
"name": "test-template-1",
"type": "job_template",
"organization": { "name": "Default" }
},
"related": {
"credentials": [
Expand Down

0 comments on commit de4e462

Please sign in to comment.