summaryrefslogtreecommitdiff
path: root/tests/integration/targets/prepare_vyos_tests/tasks/main.yaml
blob: 1a81fb17b764812838d4eebd94363a94edce2797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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