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] 82b2d294b7
add support to create L2TP and PPTP VPN connection (#4746) (#4793)
* add support to create L2TP and PPTP VPN connection

* Update plugins/modules/net_tools/nmcli.py

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

* Update plugins/modules/net_tools/nmcli.py

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

* Update plugins/modules/net_tools/nmcli.py

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

* Update plugins/modules/net_tools/nmcli.py

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

* Update plugins/modules/net_tools/nmcli.py

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

* Update plugins/modules/net_tools/nmcli.py

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

* Update plugins/modules/net_tools/nmcli.py

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

* Update plugins/modules/net_tools/nmcli.py

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

* apply changes pointed on tests and review

- add changelog fragment
- change example code to use jinja2 in place of shell command

* removes trailing whitespace

* Update plugins/modules/net_tools/nmcli.py

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

* Update plugins/modules/net_tools/nmcli.py

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

* removes linux command from examples

* remove unnecessary brakets

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

* remove unnecessary brakets

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

* simplify psk encoding on example

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

* Update plugins/modules/net_tools/nmcli.py

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

* Update plugins/modules/net_tools/nmcli.py

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

* add unit tests

- test unchenged l2tp and pptp vpn connections
- test create l2tp and pptp vpn connections
- fix is_connection_changed to remove default ifname attribuition

* improve tests on vpn.data param

- fix _compare_conn_params to handle vpn.data as lists

* removes block and set_fact from example

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

* makes line shortter to better reading

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

* Update plugins/modules/net_tools/nmcli.py

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

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit e5e485390d)

Co-authored-by: José Roberto Emerich Junior <jremerich@gmail.com>
2022-06-06 21:57:53 +02:00
..
infinity Fix sanity issues. (#4346) 2022-03-14 20:56:27 +01:00
ldap ldap_entry - Recursive deletion (#4355) 2022-03-15 05:39:51 +01:00
pritunl [pritunl] add mac_addresses parameter (#4535) 2022-05-09 07:38:10 +02:00
cloudflare_dns.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
dnsimple.py [5.0.0] Bump version to 5.0.0, remove deprecated features (#4516) 2022-04-26 11:45:15 +02:00
dnsimple_info.py add dnsimple_info module, see issue #3569 (#3739) 2021-12-11 21:14:32 +01:00
dnsmadeeasy.py dnsmadeeasy: only get monitor if it is not null api response (#4459) 2022-04-13 07:10:15 +02:00
gandi_livedns.py Add gandi_livedns module (#328) 2021-03-21 11:25:24 +01:00
haproxy.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
ip_netns.py ip_netns - invoke run_command passing list (#3822) 2021-12-01 07:10:46 +01:00
ipify_facts.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
ipinfoio_facts.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
ipwcli_dns.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
lldp.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
netcup_dns.py Use str() to get exception message (#2590) 2021-05-25 12:58:20 +02:00
nmcli.py add support to create L2TP and PPTP VPN connection (#4746) (#4793) 2022-06-06 21:57:53 +02:00
nsupdate.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
omapi_host.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
snmp_facts.py Docs improvements. (#3893) 2021-12-12 11:01:14 +01:00