Merge pull request #1429 from flyinprogrammer/devel

[gce] [gce_net] fix docs; only delete network if fwname is not provided
This commit is contained in:
Brian Coca 2015-07-21 18:42:53 -04:00
commit 92199342cd

View file

@ -75,7 +75,7 @@ options:
aliases: []
state:
description:
- desired state of the persistent disk
- desired state of the network or firewall
required: false
default: "present"
choices: ["active", "present", "absent", "deleted"]
@ -264,7 +264,7 @@ def main():
if fw:
gce.ex_destroy_firewall(fw)
changed = True
if name:
elif name:
json_output['name'] = name
network = None
try: