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
José Roberto Emerich Junior e5e485390d
add support to create L2TP and PPTP VPN connection (#4746)
* 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>
2022-06-06 21:16:27 +02:00
..
cloud vmadm: minor refactoring (#4648) 2022-05-11 22:05:35 +02:00
clustering consul: applied bugfix from issue (#4712) 2022-05-23 07:22:15 +02:00
database Fix sanity issues. (#4346) 2022-03-14 20:56:27 +01:00
files Document all filter and test plugins (#4597) 2022-05-02 07:25:45 +02:00
identity keycloak_realm: fix default groups and roles (#4241) (#4719) 2022-05-30 12:48:06 +02:00
monitoring New module alerta_customer (#4554) 2022-04-26 07:58:32 +02:00
net_tools add support to create L2TP and PPTP VPN connection (#4746) 2022-06-06 21:16:27 +02:00
notification Replace symlinks with meta/runtime.yml redirects. (#4562) 2022-04-26 20:33:13 +02:00
packaging ansible_galaxy_install: minor improvements based on MH updates (#4752) 2022-06-04 09:14:17 +02:00
remote_management DOC: Documment setting of NTP server in examples. (#4655) 2022-05-30 06:55:22 +02:00
source_control gitlab_hook: use None for non-existent attr in gitlab API response (#4668) 2022-05-17 07:45:10 +02:00
storage Fix quoting bug in zfs. (#4726) 2022-05-28 21:38:30 +02:00
system xfconf module utils: providing a cmd_runner object (#4776) 2022-06-06 10:38:46 +02:00
web_infrastructure jira: Use fields in comment to merge in additional data (#4304) 2022-03-12 07:30:28 +01:00