Skip to content

Commit

Permalink
fix(nmcli): remove bond from ip_conn_type
Browse files Browse the repository at this point in the history
By `bond` connections being included in the `ip_conn_type` list, the
resulting `nmcli` commands include references to `ipv4` and `ipv6`
settings. These options are not available to `bond` connection types as
stated by the error output in issue ansible-collections#8558.

Closes ansible-collections#8558
  • Loading branch information
joey-grant committed Aug 7, 2024
1 parent 132faea commit e7aee70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/modules/nmcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1951,7 +1951,6 @@ def connection_options(self, detect_change=False):
@property
def ip_conn_type(self):
return self.type in (
'bond',
'bridge',
'dummy',
'ethernet',
Expand Down

0 comments on commit e7aee70

Please sign in to comment.