mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Merge pull request #6297 from squidboylan/collection_tests
Collection tests Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -41,6 +41,18 @@
|
||||
that:
|
||||
- "result is failed"
|
||||
|
||||
- name: create a smart inventory
|
||||
tower_inventory:
|
||||
name: smart-inventory
|
||||
organization: Default
|
||||
kind: smart
|
||||
host_filter: name=foo
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
- name: Delete an Inventory
|
||||
tower_inventory:
|
||||
name: my-inventory
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
tower_workflow_template:
|
||||
name: my-workflow
|
||||
schema: [{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]
|
||||
extra_vars: {'foo': 'bar', 'another-foo': {'barz': 'bar2'}}
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
||||
Reference in New Issue
Block a user