fix gce_net add firewall rule example
This commit is contained in:
parent
dd78dde449
commit
c707107e1b
1 changed files with 5 additions and 4 deletions
|
@ -35,7 +35,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- the protocol:ports to allow ('tcp:80' or 'tcp:80,443' or 'tcp:80-800')
|
- the protocol:ports to allow ('tcp:80' or 'tcp:80,443' or 'tcp:80-800')
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
aliases: []
|
aliases: []
|
||||||
ipv4_range:
|
ipv4_range:
|
||||||
description:
|
description:
|
||||||
|
@ -101,15 +101,16 @@ author: Eric Johnson <erjohnso@google.com>
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Simple example of creating a new network
|
# Simple example of creating a new network
|
||||||
- local_action:
|
- local_action:
|
||||||
module: gce_net
|
module: gce_net
|
||||||
name: privatenet
|
name: privatenet
|
||||||
ipv4_range: '10.240.16.0/24'
|
ipv4_range: '10.240.16.0/24'
|
||||||
|
|
||||||
# Simple example of creating a new firewall rule
|
# Simple example of creating a new firewall rule
|
||||||
- local_action:
|
- local_action:
|
||||||
module: gce_net
|
module: gce_net
|
||||||
name: privatenet
|
name: privatenet
|
||||||
|
fwname: all-web-webproxy
|
||||||
allowed: tcp:80,8080
|
allowed: tcp:80,8080
|
||||||
src_tags: ["web", "proxy"]
|
src_tags: ["web", "proxy"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue