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/modules/net_tools
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
..
infinity modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
ldap ldap_search: switch off client-chasing referrals (#1618) 2021-01-27 07:56:07 +01:00
nios Fix a bunch of potential security issues (secret leaking) (#1736) (#1751) 2021-02-08 17:04:38 +01:00
cloudflare_dns.py cloudflare_dns: read API token from environment (#1238) 2021-01-11 13:08:20 +01:00
dnsimple.py dnsimple: Add support for CAA records (#1814) (#1835) 2021-02-16 07:55:35 +01:00
dnsmadeeasy.py Fix a bunch of potential security issues (secret leaking) (#1736) (#1751) 2021-02-08 17:04:38 +01:00
haproxy.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
ip_netns.py Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) 2020-12-01 21:28:40 +01:00
ipify_facts.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
ipinfoio_facts.py Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) 2020-12-01 21:28:40 +01:00
ipwcli_dns.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
lldp.py lldp - use get_bin_path to locate the lldpctl executable (#1643) 2021-01-23 11:45:28 +01:00
netcup_dns.py Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) 2020-12-01 21:28:40 +01:00
nmcli.py Fix: nmcli - Ensure slave-type for bond-slave (#1882) (#1961) 2021-03-04 08:27:40 +01:00
nsupdate.py Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) (#1834) 2021-02-16 07:38:50 +01:00
omapi_host.py Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) (#1834) 2021-02-16 07:38:50 +01:00
snmp_facts.py snmp_facts: Hide user sensitive information in console (#1621) 2021-01-12 11:06:58 +01:00