summaryrefslogtreecommitdiff
path: root/test/integration/targets/prepare_vyos_tests/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/prepare_vyos_tests/tasks/main.yaml')
-rw-r--r--test/integration/targets/prepare_vyos_tests/tasks/main.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/integration/targets/prepare_vyos_tests/tasks/main.yaml b/test/integration/targets/prepare_vyos_tests/tasks/main.yaml
index 494a1d2..a156ea4 100644
--- a/test/integration/targets/prepare_vyos_tests/tasks/main.yaml
+++ b/test/integration/targets/prepare_vyos_tests/tasks/main.yaml
@@ -1,10 +1,11 @@
---
- name: Ensure required interfaces are present in running-config
- cli_config:
+ network.cli.cli_config:
config: "{{ lines }}"
vars:
lines: |
set interfaces ethernet eth0 address dhcp
set interfaces ethernet eth1
set interfaces ethernet eth2
- set interfaces loopback lo
+ delete interfaces loopback lo
+ ignore_errors: yes