mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Update workflow_launch module and test playbook
This commit is contained in:
parent
cf607691ac
commit
4acdf8584b
@ -128,7 +128,6 @@ def main():
|
||||
organization = module.params.get('organization')
|
||||
inventory = module.params.get('inventory')
|
||||
optional_args['limit'] = module.params.get('limit')
|
||||
optional_args['extra_vars'] = module.params.get('extra_vars')
|
||||
wait = module.params.get('wait')
|
||||
interval = module.params.get('interval')
|
||||
timeout = module.params.get('timeout')
|
||||
|
||||
@ -22,7 +22,6 @@
|
||||
|
||||
- name: Connect to Tower server but request an invalid workflow
|
||||
tower_workflow_launch:
|
||||
validate_certs: false
|
||||
workflow_template: "Does Not Exist"
|
||||
ignore_errors: true
|
||||
register: result
|
||||
@ -34,7 +33,6 @@
|
||||
|
||||
- name: Run the workflow without waiting (this should just give us back a job ID)
|
||||
tower_workflow_launch:
|
||||
validate_certs: false
|
||||
workflow_template: "{{ wfjt_name1 }}"
|
||||
wait: false
|
||||
ignore_errors: true
|
||||
@ -47,7 +45,6 @@
|
||||
|
||||
- name: Kick off a workflow and wait for it, but only for a second
|
||||
tower_workflow_launch:
|
||||
validate_certs: false
|
||||
workflow_template: "{{ wfjt_name1 }}"
|
||||
timeout: 1
|
||||
ignore_errors: true
|
||||
@ -60,7 +57,6 @@
|
||||
|
||||
- name: Kick off a workflow and wait for it
|
||||
tower_workflow_launch:
|
||||
validate_certs: false
|
||||
workflow_template: "{{ wfjt_name1 }}"
|
||||
ignore_errors: true
|
||||
register: result
|
||||
@ -78,7 +74,6 @@
|
||||
|
||||
- name: Kick off a workflow with extra_vars
|
||||
tower_workflow_launch:
|
||||
validate_certs: false
|
||||
workflow_template: "{{ wfjt_name1 }}"
|
||||
extra_vars:
|
||||
var1: My First Variable
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user