mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
nmcli: Changed parameter ordering in create_connection_bond (#23571)
nmcli: Changed parameter ordering in create_connection_bond
This commit is contained in:
parent
655667527d
commit
d4cedbee20
1 changed files with 3 additions and 3 deletions
|
@ -810,6 +810,9 @@ class Nmcli(object):
|
|||
cmd.append(self.ifname)
|
||||
elif self.conn_name is not None:
|
||||
cmd.append(self.conn_name)
|
||||
if self.mode is not None:
|
||||
cmd.append('mode')
|
||||
cmd.append(self.mode)
|
||||
if self.ip4 is not None:
|
||||
cmd.append('ip4')
|
||||
cmd.append(self.ip4)
|
||||
|
@ -825,9 +828,6 @@ class Nmcli(object):
|
|||
if self.autoconnect is not None:
|
||||
cmd.append('autoconnect')
|
||||
cmd.append(self.bool_to_string(self.autoconnect))
|
||||
if self.mode is not None:
|
||||
cmd.append('mode')
|
||||
cmd.append(self.mode)
|
||||
if self.miimon is not None:
|
||||
cmd.append('miimon')
|
||||
cmd.append(self.miimon)
|
||||
|
|
Loading…
Reference in a new issue