From 93ebe0f7c1d4916644ece0941ed232fb1417d865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= Date: Mon, 5 Dec 2016 16:15:15 +0100 Subject: [PATCH] cloudstack: cs_staticnat: implement VPC support (#3409) --- .../modules/extras/cloud/cloudstack/cs_staticnat.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ansible/modules/extras/cloud/cloudstack/cs_staticnat.py b/lib/ansible/modules/extras/cloud/cloudstack/cs_staticnat.py index 61ada7f0127..623bb26fbd1 100644 --- a/lib/ansible/modules/extras/cloud/cloudstack/cs_staticnat.py +++ b/lib/ansible/modules/extras/cloud/cloudstack/cs_staticnat.py @@ -48,6 +48,12 @@ options: required: false default: null version_added: "2.2" + vpc: + description: + - Name of the VPC. + required: false + default: null + version_added: "2.3" state: description: - State of the static NAT. @@ -235,6 +241,7 @@ def main(): vm = dict(default=None), vm_guest_ip = dict(default=None), network = dict(default=None), + vpc = dict(default=None), state = dict(choices=['present', 'absent'], default='present'), zone = dict(default=None), domain = dict(default=None),