diff options
author | Gaige B Paulsen <gaige@cluetrust.com> | 2025-02-01 19:27:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-01 19:27:36 -0500 |
commit | 8b52367a05885ad11f3aae41f2e1228261d8db7e (patch) | |
tree | aea7bad8626b8530821a3457d175dfb1311d60d9 /tests | |
parent | 5e12a15b2ed6dfa4cc598153b00d240bf64d6fa2 (diff) | |
parent | 563ee2480aeb3378ea05e1bed4d042afeb9b6e69 (diff) | |
download | vyos.vyos-dependabot/github_actions/actions/setup-python-5.tar.gz vyos.vyos-dependabot/github_actions/actions/setup-python-5.zip |
Merge branch 'main' into dependabot/github_actions/actions/setup-python-5dependabot/github_actions/actions/setup-python-5
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/targets/vyos_static_routes/tests/cli/_populate.yaml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/integration/targets/vyos_static_routes/tests/cli/_populate.yaml b/tests/integration/targets/vyos_static_routes/tests/cli/_populate.yaml index fdd6b1ac..52d760da 100644 --- a/tests/integration/targets/vyos_static_routes/tests/cli/_populate.yaml +++ b/tests/integration/targets/vyos_static_routes/tests/cli/_populate.yaml @@ -2,15 +2,15 @@ - ansible.builtin.include_tasks: _remove_config.yaml - name: Setup + vyos.vyos.vyos_config: + lines: + - set protocols static route 192.0.2.32/28 next-hop '192.0.2.10' + - set protocols static route 192.0.2.32/28 next-hop '192.0.2.9' + - set protocols static route 192.0.2.32/28 blackhole + - set protocols static route 192.0.2.32/28 + - set protocols static route6 2001:db8:1000::/36 next-hop '2001:db8:2000:2::1' + - set protocols static route6 2001:db8:1000::/36 next-hop '2001:db8:2000:2::2' + - set protocols static route6 2001:db8:1000::/36 blackhole distance '2' + - set protocols static route6 2001:db8:1000::/36 vars: - lines: >- - "set protocols static route 192.0.2.32/28 next-hop '192.0.2.10'\n - set protocols static route 192.0.2.32/28 next-hop '192.0.2.9'\n - set protocols static route 192.0.2.32/28 blackhole\n - set protocols static route 192.0.2.32/28\n - set protocols static route6 2001:db8:1000::/36 next-hop '2001:db8:2000:2::1'\n - set protocols static route6 2001:db8:1000::/36 next-hop '2001:db8:2000:2::2'\n - set protocols static route6 2001:db8:1000::/36 blackhole distance '2'\n - set protocols static route6 2001:db8:1000::/36" - ansible.netcommon.cli_config: - config: "{{ lines }}" + ansible_connection: ansible.netcommon.network_cli |