Skip to content

Commit 57af01f

Browse files
committed
move refresh inventory inside the tests
1 parent 01b81e5 commit 57af01f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_playbooks/tasks/inventory_plugin.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
- name: setup
33
include_tasks: inventory_plugin_setup.yml
44

5-
- name: Refresh inventory to ensure new instances exist in inventory
6-
meta: refresh_inventory
7-
85
- name: execute tests
96
block:
107
- name: execute tests

tests/test_playbooks/tasks/inventory_plugin_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
- name: Refresh inventory to ensure new instances exist in inventory
3+
meta: refresh_inventory
4+
25
- name: test that all groups are present
36
assert:
47
that: >

0 commit comments

Comments
 (0)