mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 02:31:03 -03:30
Collection: Add integration test for smart inventory
This commit is contained in:
@@ -41,6 +41,18 @@
|
|||||||
that:
|
that:
|
||||||
- "result is failed"
|
- "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
|
- name: Delete an Inventory
|
||||||
tower_inventory:
|
tower_inventory:
|
||||||
name: my-inventory
|
name: my-inventory
|
||||||
|
|||||||
Reference in New Issue
Block a user