File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ minor_changes :
3
+ - updated documentation on surveys for workflows and job templates
4
+ - added alias option for survey to survey_spec in workflows.
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ tower_configuration_job_templates_secure_logging defaults to the value of tower_
65
65
| ` ask_credential_on_launch ` | ""| no| bool| Prompt user for credential on launch.|
66
66
| ` survey_enabled ` | ""| no| bool| Enable a survey on the job template.|
67
67
| ` survey_spec ` | ""| no| dict| JSON/YAML dict formatted survey definition.|
68
+ | ` survey ` | ""| no| dict| JSON/YAML dict formatted survey definition. Alias of survey_spec|
68
69
| ` become_enabled ` | ""| no| bool| Activate privilege escalation.|
69
70
| ` allow_simultaneous ` | ""| no| bool| Allow simultaneous runs of the job template.|
70
71
| ` timeout ` | ""| no| int| Maximum time in seconds to wait for a job to finish (server-side).|
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ workflow_job_templates_secure_logging defaults to the value of tower_genie_secur
52
52
| ` state ` | ` present ` | no| str| Desired state of the resource.|
53
53
| ` survey_enabled ` | ""| no| bool| Enable a survey on the job template.|
54
54
| ` survey_spec ` | ""| no| dict| JSON/YAML dict formatted survey definition.|
55
+ | ` survey ` | ""| no| dict| JSON/YAML dict formatted survey definition. Alias of survey_spec|
55
56
| ` webhook_service ` | ""| no| str| Service that webhook requests will be accepted from (github, gitlab)|
56
57
| ` webhook_credential ` | ""| no| str| Personal Access Token for posting back the status to the service API|
57
58
Original file line number Diff line number Diff line change 20
20
webhook_service : " {{ workflow_loop_var.webhook_service | default(omit) }}"
21
21
webhook_credential : " {{ workflow_loop_var.webhook_credential.name | default(workflow_loop_var.webhook_credential | default(omit)) }}"
22
22
survey_enabled : " {{ workflow_loop_var.survey_enabled | default('false') }}"
23
- survey : " {{ workflow_loop_var.related.survey_spec | default( workflow_loop_var.survey_spec | default(omit)) }}"
23
+ survey : " {{ workflow_loop_var.related.survey_spec | default( workflow_loop_var.survey_spec | default( workflow_loop_var.survey | default( omit) )) }}"
24
24
state : " {{ workflow_loop_var.state | default(tower_state | default('present')) }}"
25
25
notification_templates_started : " {{ workflow_loop_var.notification_templates_started | default(workflow_loop_var.related.notification_templates_started | default([]) | map(attribute='name') | list ) }}"
26
26
notification_templates_success : " {{ workflow_loop_var.notification_templates_success | default(workflow_loop_var.related.notification_templates_success | default([]) | map(attribute='name') | list ) }}"
You can’t perform that action at this time.
0 commit comments