blob: afbc291e07775a4b9b397410de5ff7e1988f0022 (
plain)
1
2
3
4
5
6
7
8
9
|
---
- name: Ensure required interfaces are present in running-config
vars:
lines: "set interfaces ethernet eth0 address dhcp\nset interfaces ethernet eth0\
\ speed auto\nset interfaces ethernet eth0 duplex auto\nset interfaces ethernet\
\ eth1\nset interfaces ethernet eth2\ndelete interfaces loopback lo\n"
ignore_errors: true
ansible.netcommon.cli_config:
config: '{{ lines }}'
|