mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
After b7e78656
, if `src_range`, `src_tags` or `target_tags` is left as
null, the firewall rule would always be recreated.
This commit is contained in:
parent
c559567f16
commit
24cfb10ce9
1 changed files with 6 additions and 6 deletions
|
@ -65,20 +65,20 @@ options:
|
||||||
description:
|
description:
|
||||||
- the source IPv4 address range in CIDR notation
|
- the source IPv4 address range in CIDR notation
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: []
|
||||||
aliases: ['src_cidr']
|
aliases: ['src_cidr']
|
||||||
src_tags:
|
src_tags:
|
||||||
description:
|
description:
|
||||||
- the source instance tags for creating a firewall rule
|
- the source instance tags for creating a firewall rule
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: []
|
||||||
aliases: []
|
aliases: []
|
||||||
target_tags:
|
target_tags:
|
||||||
version_added: "1.9"
|
version_added: "1.9"
|
||||||
description:
|
description:
|
||||||
- the target instance tags for creating a firewall rule
|
- the target instance tags for creating a firewall rule
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: []
|
||||||
aliases: []
|
aliases: []
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
|
@ -325,9 +325,9 @@ def main():
|
||||||
ipv4_range = dict(),
|
ipv4_range = dict(),
|
||||||
fwname = dict(),
|
fwname = dict(),
|
||||||
name = dict(),
|
name = dict(),
|
||||||
src_range = dict(type='list'),
|
src_range = dict(default=[], type='list'),
|
||||||
src_tags = dict(type='list'),
|
src_tags = dict(default=[], type='list'),
|
||||||
target_tags = dict(type='list'),
|
target_tags = dict(default=[], type='list'),
|
||||||
state = dict(default='present'),
|
state = dict(default='present'),
|
||||||
service_account_email = dict(),
|
service_account_email = dict(),
|
||||||
pem_file = dict(type='path'),
|
pem_file = dict(type='path'),
|
||||||
|
|
Loading…
Reference in a new issue