summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_static_route
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_static_route
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_static_route')
-rw-r--r--tests/integration/targets/vyos_static_route/tasks/main.yaml2
-rw-r--r--tests/integration/targets/vyos_static_route/tests/cli/basic.yaml14
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/integration/targets/vyos_static_route/tasks/main.yaml b/tests/integration/targets/vyos_static_route/tasks/main.yaml
index 415c99d..d4cf26f 100644
--- a/tests/integration/targets/vyos_static_route/tasks/main.yaml
+++ b/tests/integration/targets/vyos_static_route/tasks/main.yaml
@@ -1,2 +1,2 @@
---
-- { include: cli.yaml, tags: ['cli'] }
+- {include: cli.yaml, tags: ['cli']}
diff --git a/tests/integration/targets/vyos_static_route/tests/cli/basic.yaml b/tests/integration/targets/vyos_static_route/tests/cli/basic.yaml
index 122e49a..4b1ef1c 100644
--- a/tests/integration/targets/vyos_static_route/tests/cli/basic.yaml
+++ b/tests/integration/targets/vyos_static_route/tests/cli/basic.yaml
@@ -79,8 +79,8 @@
- name: Add static route collections
vyos.vyos.vyos_static_route:
aggregate:
- - { prefix: 172.24.1.0/24, next_hop: 192.168.42.64 }
- - { prefix: 172.24.2.0, mask: 24, next_hop: 192.168.42.64 }
+ - {prefix: 172.24.1.0/24, next_hop: 192.168.42.64}
+ - {prefix: 172.24.2.0, mask: 24, next_hop: 192.168.42.64}
state: present
register: result
@@ -93,9 +93,9 @@
- name: Add and remove static route collections with overrides
vyos.vyos.vyos_static_route:
aggregate:
- - { prefix: 172.24.1.0/24, next_hop: 192.168.42.64 }
- - { prefix: 172.24.2.0/24, next_hop: 192.168.42.64, state: absent }
- - { prefix: 172.24.3.0/24, next_hop: 192.168.42.64 }
+ - {prefix: 172.24.1.0/24, next_hop: 192.168.42.64}
+ - {prefix: 172.24.2.0/24, next_hop: 192.168.42.64, state: absent}
+ - {prefix: 172.24.3.0/24, next_hop: 192.168.42.64}
state: present
register: result
@@ -108,8 +108,8 @@
- name: Remove static route collections
vyos.vyos.vyos_static_route:
aggregate:
- - { prefix: 172.24.1.0/24, next_hop: 192.168.42.64 }
- - { prefix: 172.24.3.0/24, next_hop: 192.168.42.64 }
+ - {prefix: 172.24.1.0/24, next_hop: 192.168.42.64}
+ - {prefix: 172.24.3.0/24, next_hop: 192.168.42.64}
state: absent
register: result