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
patchback[bot] 720de141b5
Fix: nmcli - Ensure slave-type for bond-slave (#1882) (#1961)
* 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>
(cherry picked from commit dec345b818)

Co-authored-by: Ox <oxedions@gmail.com>
2021-03-04 08:27:40 +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) (#1891) 2021-02-24 19:36:37 +01:00
callback fixed Python 3 keys() usage (#1861) (#1891) 2021-02-24 19:36:37 +01:00
connection Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1839) 2021-02-16 08:46:20 +01:00
doc_fragments Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) (#1834) 2021-02-16 07:38:50 +01:00
filter Add version_sort filter to properly sort list of versions (#1916) (#1932) 2021-02-27 19:54:39 +01:00
inventory Proxmox inventory: Add some sanitization to url parameter (#1914) (#1931) 2021-02-27 17:23:02 +01:00
lookup Adding another example for tss lookup (#1945) (#1948) 2021-03-02 22:23:28 +01:00
module_utils Improved ModuleHelper.run_command() (#1867) (#1938) 2021-02-28 15:34:46 +01:00
modules Fix: nmcli - Ensure slave-type for bond-slave (#1882) (#1961) 2021-03-04 08:27:40 +01:00