Fix align again, strange vim error. ansible/ansible#10917
This commit is contained in:
parent
31b0ffafa8
commit
0c305b72cd
1 changed files with 4 additions and 4 deletions
|
@ -1836,7 +1836,7 @@ class LinuxNetwork(Network):
|
|||
if words[0] == 'inet':
|
||||
if '/' in words[1]:
|
||||
address, netmask_length = words[1].split('/')
|
||||
broadcast = words[3]
|
||||
broadcast = words[3]
|
||||
else:
|
||||
# pointopoint interfaces do not have a prefix
|
||||
address = words[1]
|
||||
|
@ -1850,7 +1850,7 @@ class LinuxNetwork(Network):
|
|||
interfaces[iface] = {}
|
||||
if not secondary and "ipv4" not in interfaces[iface]:
|
||||
interfaces[iface]['ipv4'] = {'address': address,
|
||||
'broadcast': broadcast,
|
||||
'broadcast': broadcast,
|
||||
'netmask': netmask,
|
||||
'network': network}
|
||||
else:
|
||||
|
@ -1858,7 +1858,7 @@ class LinuxNetwork(Network):
|
|||
interfaces[iface]["ipv4_secondaries"] = []
|
||||
interfaces[iface]["ipv4_secondaries"].append({
|
||||
'address': address,
|
||||
'broadcast': broadcast,
|
||||
'broadcast': broadcast,
|
||||
'netmask': netmask,
|
||||
'network': network,
|
||||
})
|
||||
|
@ -1869,7 +1869,7 @@ class LinuxNetwork(Network):
|
|||
interfaces[device]["ipv4_secondaries"] = []
|
||||
interfaces[device]["ipv4_secondaries"].append({
|
||||
'address': address,
|
||||
'broadcast': broadcast,
|
||||
'broadcast': broadcast,
|
||||
'netmask': netmask,
|
||||
'network': network,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue