windows: set up firewall
This commit is contained in:
parent
91de26af57
commit
66298da9c7
4 changed files with 68 additions and 2 deletions
|
@ -7,7 +7,8 @@
|
|||
changed_when: "not result.stderr or 'Instance MSFT_NetIPAddress already exists' not in result.stderr"
|
||||
failed_when: false
|
||||
|
||||
- set_fact:
|
||||
- name: Get gateway for prefix
|
||||
set_fact:
|
||||
prefix: "{{ prefixes | selectattr('prefix', '==', address.address|ipaddr('subnet')) | first }}"
|
||||
|
||||
- name: Set gateway
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue