summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_vlan
diff options
context:
space:
mode:
authorCaptTrews <capttrews@gmail.com>2019-12-04 00:26:13 +0000
committerCaptTrews <capttrews@gmail.com>2019-12-04 00:26:13 +0000
commitf4fff0b4a4ecd2e634f4dcb515bf92c20d3771ba (patch)
tree133958d96ff13a3df7bae53742d138ac9bfd2884 /tests/integration/targets/vyos_vlan
parentdf640eaacf60e82e6cf6f8b10236894eef1cc8ce (diff)
downloadvyos-ansible-old-f4fff0b4a4ecd2e634f4dcb515bf92c20d3771ba.tar.gz
vyos-ansible-old-f4fff0b4a4ecd2e634f4dcb515bf92c20d3771ba.zip
Updated from network content collector
Signed-off-by: CaptTrews <capttrews@gmail.com>
Diffstat (limited to 'tests/integration/targets/vyos_vlan')
-rw-r--r--tests/integration/targets/vyos_vlan/tasks/main.yaml2
-rw-r--r--tests/integration/targets/vyos_vlan/tests/cli/basic.yaml4
-rw-r--r--tests/integration/targets/vyos_vlan/tests/cli/intent.yaml10
3 files changed, 8 insertions, 8 deletions
diff --git a/tests/integration/targets/vyos_vlan/tasks/main.yaml b/tests/integration/targets/vyos_vlan/tasks/main.yaml
index 415c99d..d4cf26f 100644
--- a/tests/integration/targets/vyos_vlan/tasks/main.yaml
+++ b/tests/integration/targets/vyos_vlan/tasks/main.yaml
@@ -1,2 +1,2 @@
---
-- { include: cli.yaml, tags: ['cli'] }
+- {include: cli.yaml, tags: ['cli']}
diff --git a/tests/integration/targets/vyos_vlan/tests/cli/basic.yaml b/tests/integration/targets/vyos_vlan/tests/cli/basic.yaml
index 6e4417e..cb0f348 100644
--- a/tests/integration/targets/vyos_vlan/tests/cli/basic.yaml
+++ b/tests/integration/targets/vyos_vlan/tests/cli/basic.yaml
@@ -73,8 +73,8 @@
- name: Create VLANs using aggregate
vyos.vyos.vyos_vlan: &agg_vlan
aggregate:
- - { vlan_id: 101, name: voice, interfaces: "eth0" }
- - { vlan_id: 201, name: mgm, interfaces: "eth1" }
+ - {vlan_id: 101, name: voice, interfaces: "eth0"}
+ - {vlan_id: 201, name: mgm, interfaces: "eth1"}
state: present
register: result
diff --git a/tests/integration/targets/vyos_vlan/tests/cli/intent.yaml b/tests/integration/targets/vyos_vlan/tests/cli/intent.yaml
index 7c78937..4a12317 100644
--- a/tests/integration/targets/vyos_vlan/tests/cli/intent.yaml
+++ b/tests/integration/targets/vyos_vlan/tests/cli/intent.yaml
@@ -35,8 +35,8 @@
vlan_id: 100
interfaces: eth0
associated_interfaces:
- - eth0
- - eth1
+ - eth0
+ - eth1
register: result
- assert:
@@ -47,10 +47,10 @@
vyos.vyos.vyos_vlan:
vlan_id: 100
associated_interfaces:
- - eth3
- - eth4
+ - eth3
+ - eth4
register: result
- ignore_errors: yes
+ ignore_errors: true
- assert:
that: