mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
12 lines
259 B
YAML
12 lines
259 B
YAML
|
- name: Launch a Job Template
|
||
|
tower_job_launch:
|
||
|
job_template: "Demo Job Template"
|
||
|
inventory: "Demo Inventory"
|
||
|
credential: "Demo Credential"
|
||
|
register: result
|
||
|
|
||
|
- assert:
|
||
|
that:
|
||
|
- "result is changed"
|
||
|
- "result.status == 'pending'"
|