Remove lo from config (#60480)

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
This commit is contained in:
Nilashish Chakraborty 2019-08-13 19:10:56 +05:30 committed by GitHub
parent 2e819c87db
commit ef0f28097e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 22 deletions

View file

@ -7,4 +7,5 @@
set interfaces ethernet eth0 address dhcp set interfaces ethernet eth0 address dhcp
set interfaces ethernet eth1 set interfaces ethernet eth1
set interfaces ethernet eth2 set interfaces ethernet eth2
set interfaces loopback lo delete interfaces loopback lo
ignore_errors: yes

View file

@ -12,9 +12,6 @@ merged:
- name: "eth2" - name: "eth2"
enabled: true enabled: true
- name: "lo"
enabled: true
commands: commands:
- "set interfaces ethernet eth1 description 'Configured by Ansible - Interface 1'" - "set interfaces ethernet eth1 description 'Configured by Ansible - Interface 1'"
- "set interfaces ethernet eth1 mtu '1500'" - "set interfaces ethernet eth1 mtu '1500'"
@ -28,9 +25,6 @@ merged:
- "set interfaces ethernet eth2 disable" - "set interfaces ethernet eth2 disable"
after: after:
- name: "lo"
enabled: true
- name: "eth0" - name: "eth0"
enabled: true enabled: true
duplex: "auto" duplex: "auto"
@ -85,9 +79,6 @@ populate:
duplex: "auto" duplex: "auto"
speed: "auto" speed: "auto"
- name: "lo"
enabled: true
replaced: replaced:
commands: commands:
- "delete interfaces ethernet eth1 mtu" - "delete interfaces ethernet eth1 mtu"
@ -103,9 +94,6 @@ replaced:
- "set interfaces ethernet eth2 mtu '1400'" - "set interfaces ethernet eth2 mtu '1400'"
after: after:
- name: "lo"
enabled: true
- name: "eth1" - name: "eth1"
description: "Replaced by Ansible" description: "Replaced by Ansible"
enabled: true enabled: true
@ -144,9 +132,6 @@ overridden:
- "set interfaces ethernet eth2 mtu '1200'" - "set interfaces ethernet eth2 mtu '1200'"
after: after:
- name: "lo"
enabled: true
- name: "eth0" - name: "eth0"
enabled: true enabled: true
speed: "auto" speed: "auto"
@ -180,9 +165,6 @@ deleted:
- "delete interfaces ethernet eth2 vif 200 description" - "delete interfaces ethernet eth2 vif 200 description"
after: after:
- name: "lo"
enabled: true
- name: "eth0" - name: "eth0"
enabled: true enabled: true
speed: "auto" speed: "auto"
@ -202,9 +184,6 @@ deleted:
round_trip: round_trip:
after: after:
- name: "lo"
enabled: true
- name: "eth0" - name: "eth0"
enabled: true enabled: true
speed: "auto" speed: "auto"