Merge pull request #6297 from squidboylan/collection_tests

Collection tests

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-03-16 20:07:13 +00:00
committed by GitHub
2 changed files with 13 additions and 0 deletions

View File

@@ -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

View File

@@ -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: