summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_ospf_interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/targets/vyos_ospf_interfaces')
-rw-r--r--tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml4
-rw-r--r--tests/integration/targets/vyos_ospf_interfaces/tests/cli/deleted.yaml2
-rw-r--r--tests/integration/targets/vyos_ospf_interfaces/tests/cli/gathered.yaml2
-rw-r--r--tests/integration/targets/vyos_ospf_interfaces/tests/cli/overridden.yaml2
-rw-r--r--tests/integration/targets/vyos_ospf_interfaces/tests/cli/replaced.yaml2
5 files changed, 3 insertions, 9 deletions
diff --git a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml
index c4749d3..e30e9fb 100644
--- a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml
+++ b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/_populate.yaml
@@ -1,5 +1,7 @@
---
-- name: setup
+- ansible.builtin.include_tasks: _remove_config.yaml
+
+- name: Setup
vyos.vyos.vyos_config:
lines:
- set interfaces ethernet eth0 ip ospf cost 50
diff --git a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/deleted.yaml b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/deleted.yaml
index 4efca68..679a39b 100644
--- a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/deleted.yaml
+++ b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/deleted.yaml
@@ -3,8 +3,6 @@
msg: START vyos_ospf_interfaces deleted integration tests on connection={{
ansible_connection }}
-- include_tasks: _remove_config.yaml
-
- include_tasks: _populate.yaml
- block:
diff --git a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/gathered.yaml b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/gathered.yaml
index 21b6e5a..84c22cb 100644
--- a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/gathered.yaml
+++ b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/gathered.yaml
@@ -3,8 +3,6 @@
msg: START vyos_ospf_interfaces gathered integration tests on connection={{
ansible_connection }}
-- include_tasks: _remove_config.yaml
-
- include_tasks: _populate.yaml
- block:
diff --git a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/overridden.yaml b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/overridden.yaml
index dae9a6e..2652c40 100644
--- a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/overridden.yaml
+++ b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/overridden.yaml
@@ -4,8 +4,6 @@
START vyos_ospf_interfaces overridden integration tests on connection={{
ansible_connection }}
-- include_tasks: _remove_config.yaml
-
- include_tasks: _populate.yaml
- block:
diff --git a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/replaced.yaml b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/replaced.yaml
index 89c8c76..9efcdea 100644
--- a/tests/integration/targets/vyos_ospf_interfaces/tests/cli/replaced.yaml
+++ b/tests/integration/targets/vyos_ospf_interfaces/tests/cli/replaced.yaml
@@ -3,8 +3,6 @@
msg: START vyos_ospf_interfaces replaced integration tests on connection={{
ansible_connection }}
-- include_tasks: _remove_config.yaml
-
- include_tasks: _populate.yaml
- block: