1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

win_firewall_rule: Remove invalid 'bypass' action (#50207)

* win_firewall_rule: Remove invalid 'bypass' action

This fixes #50143

* Add changelog fragment
This commit is contained in:
Dag Wieers 2018-12-21 03:05:28 +01:00 committed by Jordan Borean
parent 50ed152ab9
commit 0fe7d569c9
3 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1,3 @@
---
bugfixes:
- win_firewall_rule - Remove invalid 'bypass' action

View file

@ -169,7 +169,7 @@ $diff_support = Get-AnsibleParam -obj $params -name "_ansible_diff" -type "bool"
$name = Get-AnsibleParam -obj $params -name "name" -failifempty $true
$description = Get-AnsibleParam -obj $params -name "description" -type "str"
$direction = Get-AnsibleParam -obj $params -name "direction" -type "str" -failifempty $true -validateset "in","out"
$action = Get-AnsibleParam -obj $params -name "action" -type "str" -failifempty $true -validateset "allow","block","bypass"
$action = Get-AnsibleParam -obj $params -name "action" -type "str" -failifempty $true -validateset "allow","block"
$program = Get-AnsibleParam -obj $params -name "program" -type "str"
$service = Get-AnsibleParam -obj $params -name "service" -type "str"
$enabled = Get-AnsibleParam -obj $params -name "enabled" -type "bool" -default $true -aliases "enable"

View file

@ -41,7 +41,7 @@ options:
description:
- What to do with the items this rule is for.
required: yes
choices: [ allow, block, bypass ]
choices: [ allow, block ]
description:
description:
- Description for the firewall rule.