win_firewall_rule - removed deprecated force option (#59358)

This commit is contained in:
Jordan Borean 2019-07-22 08:24:57 +10:00 committed by GitHub
parent 883cc665e3
commit 1f3a3fdd3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 12 deletions

View file

@ -140,6 +140,7 @@ Noteworthy module changes
* The ``rds_snapshot_facts`` module was renamed to :ref:`rds_snapshot_info <rds_snapshot_info_module>`.
* The ``redshift_facts`` module was renamed to :ref:`redshift_info <redshift_info_module>`.
* The ``route53_facts`` module was renamed to :ref:`route53_info <route53_info_module>`.
* The deprecated ``force`` option in ``win_firewall_rule`` has been removed.
Plugins

View file

@ -131,11 +131,6 @@ $security = Get-AnsibleParam -obj $params -name "security" -type "str" -validate
$state = Get-AnsibleParam -obj $params -name "state" -type "str" -default "present" -validateset "present","absent"
$force = Get-AnsibleParam -obj $params -name "force" -type "bool" -default $false
if ($force) {
Add-DeprecationWarning -obj $result -message "'force' isn't required anymore" -version 2.9
}
if ($diff_support) {
$result.diff = @{}
$result.diff.prepared = ""

View file

@ -99,13 +99,6 @@ options:
- Defaults to C(domain,private,public) when creating a new rule.
type: list
aliases: [ profile ]
force:
description:
- Replace any existing rule by removing it first.
- This is no longer required in Ansible 2.4 as rules no longer need replacing when being modified.
- DEPRECATED in Ansible 2.4 and will be removed in Ansible 2.9.
type: bool
default: no
seealso:
- module: win_firewall
author: