Skip to content

Commit

Permalink
[pfsense_openvpn_client] added v4only and v6only values for create_gw (
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski committed Jan 26, 2025
1 parent a316560 commit 2c531da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/openvpn_client_gw.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- pfsense_openvpn_client - added ``v4only`` and `v6only`` values for ``create_gw`` (https://github.com/pfsensible/core/issues/133)
2 changes: 1 addition & 1 deletion plugins/module_utils/openvpn_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
dns_client3=dict(default='', required=False, type='str'),
dns_client4=dict(default='', required=False, type='str'),
push_register_dns=dict(default=False, required=False, type='bool'),
create_gw=dict(default='both', required=False, choices=['both']),
create_gw=dict(default='both', required=False, choices=['both', 'v4only', 'v6only']),
verbosity_level=dict(default=3, required=False, type='int'),
)

Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/pfsense_openvpn_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
create_gw:
description: Which gateway types to create.
default: both
choices: ['both']
choices: ['both','v4only','v6only']
type: str
verbosity_level:
description: Verbosity level.
Expand Down

0 comments on commit 2c531da

Please sign in to comment.