summaryrefslogtreecommitdiff
path: root/test/integration/targets/tower_inventory/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/tower_inventory/tasks/main.yml')
-rw-r--r--test/integration/targets/tower_inventory/tasks/main.yml34
1 files changed, 0 insertions, 34 deletions
diff --git a/test/integration/targets/tower_inventory/tasks/main.yml b/test/integration/targets/tower_inventory/tasks/main.yml
deleted file mode 100644
index e1af6d6454..0000000000
--- a/test/integration/targets/tower_inventory/tasks/main.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-- name: Create an Inventory
- tower_inventory:
- name: my-inventory
- organization: Default
- state: present
- register: result
-
-- assert:
- that:
- - "result is changed"
-
-- name: Delete an Inventory
- tower_inventory:
- name: my-inventory
- organization: Default
- state: absent
- register: result
-
-- assert:
- that:
- - "result is changed"
-
-- name: Check module fails with correct msg
- tower_inventory:
- name: test-inventory
- description: Inventory Description
- organization: test-non-existing-org
- state: present
- register: result
- ignore_errors: true
-
-- assert:
- that:
- - "result.msg =='Failed to update inventory, organization not found: The requested object could not be found.'" \ No newline at end of file