win_firewall_rule: Remove invalid 'bypass' action (2.7 backport) (#50222)
* win_firewall_rule: Remove invalid 'bypass' action This fixes #50143 * Add changelog fragment
This commit is contained in:
parent
27eb7b97a1
commit
05322334b0
3 changed files with 5 additions and 2 deletions
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
bugfixes:
|
||||
- win_firewall_rule - Remove invalid 'bypass' action
|
|
@ -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"
|
||||
|
|
|
@ -44,7 +44,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.
|
||||
|
|
Loading…
Reference in a new issue