1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
Ox dec345b818
Fix: nmcli - Ensure slave-type for bond-slave (#1882)
* Fix: nmcli - Ensure slave-type for bond-slave

Hello 🙂 

When using bond-slave type, by default command sent to nmcl is:

['/usr/bin/nmcli', 'con', 'add', 'type', 'bond-slave', 'con-name', 'enp129s0f0', 'connection.interface-name', 'enp129s0f0', 'connection.autoconnect', 'yes', 'connection.master', 'bond0']

Which is not enough, nmcli will complain that connection.slave-type is missing. This small fix solve this issue.

If this change is approved, I will add the changelog fragment.

* Fix: nmcli - Adding changelog fragment for 1882

* Update changelogs/fragments/1882-fix-nmcli-ensure-slave-type-for-bond-slave.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-03-04 07:49:38 +01:00
..
action Bump version to 2.0.0 (#1369) 2020-11-26 14:26:36 +01:00
become <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
cache fixed Python 3 keys() usage (#1861) 2021-02-23 23:19:27 +01:00
callback fixed Python 3 keys() usage (#1861) 2021-02-23 23:19:27 +01:00
connection Tidy up all pylint:blacklisted-name ignore lines (#1819) 2021-02-16 08:03:51 +01:00
doc_fragments Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) 2021-02-16 07:11:37 +01:00
filter Add version_sort filter to properly sort list of versions (#1916) 2021-02-27 17:42:45 +01:00
inventory Proxmox inventory: Add some sanitization to url parameter (#1914) 2021-02-27 17:06:00 +01:00
lookup Adding another example for tss lookup (#1945) 2021-03-02 21:58:55 +01:00
module_utils Improved ModuleHelper.run_command() (#1867) 2021-02-28 15:06:36 +01:00
modules Fix: nmcli - Ensure slave-type for bond-slave (#1882) 2021-03-04 07:49:38 +01:00