8b3ff933af
* module_utils checkin Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com> * vyos lldp_interfaces merging Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com> * shippable fix Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com> * merge changes Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com> * failure added in ignore list Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com> * comments incorporated Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com> * comments incorporated Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com> * test cases updated Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com> * remove global commands Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
13 lines
398 B
YAML
13 lines
398 B
YAML
---
|
|
- name: Ensure required interfaces are present in running-config
|
|
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
|