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