diff options
author | CaptTrews <capttrews@gmail.com> | 2019-08-29 14:21:30 +0000 |
---|---|---|
committer | CaptTrews <capttrews@gmail.com> | 2019-08-29 14:21:30 +0000 |
commit | ae8514ce0289ee2096a3a9f54be6a4654153c880 (patch) | |
tree | 2d9a958c135c5ec4cad86650e8f7d7ef173d33c2 /tests/integration/targets/prepare_vyos_tests/tasks | |
parent | 59af486ab07108815ad1774205959fa8287d6e53 (diff) | |
download | vyos.vyos-ae8514ce0289ee2096a3a9f54be6a4654153c880.tar.gz vyos.vyos-ae8514ce0289ee2096a3a9f54be6a4654153c880.zip |
Updated from network content collector
Signed-off-by: CaptTrews <capttrews@gmail.com>
Diffstat (limited to 'tests/integration/targets/prepare_vyos_tests/tasks')
-rw-r--r-- | tests/integration/targets/prepare_vyos_tests/tasks/main.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/integration/targets/prepare_vyos_tests/tasks/main.yaml b/tests/integration/targets/prepare_vyos_tests/tasks/main.yaml new file mode 100644 index 0000000..1a81fb1 --- /dev/null +++ b/tests/integration/targets/prepare_vyos_tests/tasks/main.yaml @@ -0,0 +1,13 @@ +--- +- name: Ensure required interfaces are present in running-config + network.cli.cli_config: + config: "{{ lines }}" + vars: + lines: | + set interfaces ethernet eth0 address dhcp + set interfaces ethernet eth0 speed auto + set interfaces ethernet eth0 duplex auto + set interfaces ethernet eth1 + set interfaces ethernet eth2 + delete interfaces loopback lo + ignore_errors: yes |