|
|
@ -19,7 +19,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
|
module: win_fw
|
|
|
|
module: win_firewall_rule
|
|
|
|
version_added: "2.0"
|
|
|
|
version_added: "2.0"
|
|
|
|
author: Timothy Vandenbrande
|
|
|
|
author: Timothy Vandenbrande
|
|
|
|
short_description: Windows firewall automation
|
|
|
|
short_description: Windows firewall automation
|
|
|
@ -99,13 +99,13 @@ options:
|
|
|
|
- Enforces the change if a rule with different values exists
|
|
|
|
- Enforces the change if a rule with different values exists
|
|
|
|
default: false
|
|
|
|
default: false
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES = '''
|
|
|
|
EXAMPLES = '''
|
|
|
|
# create smtp firewall rule
|
|
|
|
- name: Firewall rule to allow smtp on TCP port 25
|
|
|
|
action: win_fw
|
|
|
|
action: win_firewall_rule
|
|
|
|
args:
|
|
|
|
args:
|
|
|
|
name: smtp
|
|
|
|
name: smtp
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
|