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] 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
..
infinity modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
ldap Ensured `changed returns False`. (#1530) (#1531) 2020-12-22 16:15:50 +01:00
nios Fix a bunch of potential security issues (secret leaking) (#1736) (#1750) 2021-02-08 16:22:39 +00:00
cloudflare_dns.py Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) (#1429) 2020-12-01 21:13:54 +00:00
dnsimple.py Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) (#1837) 2021-02-16 08:03:16 +01:00
dnsmadeeasy.py Fix a bunch of potential security issues (secret leaking) (#1736) (#1750) 2021-02-08 16:22:39 +00:00
haproxy.py Fix boolean defaults. (#1343) (#1358) 2020-11-23 12:29:14 +01:00
hetzner_failover_ip.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
hetzner_failover_ip_info.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
hetzner_firewall.py [stable-1] Update CI (#1790) 2021-02-11 16:32:47 +01:00
hetzner_firewall_info.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
ip_netns.py Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) (#1429) 2020-12-01 21:13:54 +00: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) (#1429) 2020-12-01 21:13:54 +00: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) (#1663) 2021-01-23 12:15:33 +01:00
netcup_dns.py Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) (#1429) 2020-12-01 21:13:54 +00:00
nmcli.py Fix: nmcli - Ensure slave-type for bond-slave (#1882) (#1960) 2021-03-04 08:27:34 +01:00
nsupdate.py Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) (#1837) 2021-02-16 08:03:16 +01:00
omapi_host.py Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) (#1837) 2021-02-16 08:03:16 +01:00
snmp_facts.py snmp_facts: Hide user sensitive information in console (#1621) (#1623) 2021-01-12 12:08:03 +01:00