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] 5b2d01566f
Fix: nmcli - Ensure slave-type for bond-slave (#1882) (#1960)
* 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:34 +01:00
..
action iptables_state: fix race condition between module and its action plugin (#1140) (#1143) 2020-10-20 22:46:12 +02:00
become Fix various sanity errors in plugins (#881) (#893) 2020-09-17 16:39:57 +00:00
cache fixed Python 3 keys() usage (#1861) (#1890) 2021-02-23 23:48:28 +01:00
callback fixed Python 3 keys() usage (#1861) (#1890) 2021-02-23 23:48:28 +01:00
connection Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1840) 2021-02-16 08:58:51 +01:00
doc_fragments Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) (#1837) 2021-02-16 08:03:16 +01:00
filter json_query: Handle AnsibleUnicode, AnsibleUnsafeText (#1434) (#1443) 2020-12-04 08:06:09 +01:00
inventory Proxmox inventory: Add some sanitization to url parameter (#1914) (#1930) 2021-02-27 17:27:11 +01:00
lookup Adding another example for tss lookup (#1945) (#1947) 2021-03-03 08:30:36 +01:00
module_utils fixed Python 3 keys() usage (#1861) (#1890) 2021-02-23 23:48:28 +01:00
modules Fix: nmcli - Ensure slave-type for bond-slave (#1882) (#1960) 2021-03-04 08:27:34 +01:00