From 25b79bafd2e8584ebb343519e828f604b43a7b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= Date: Thu, 2 Jun 2016 13:00:10 +0200 Subject: [PATCH] cloudstack: cs_snapshot_policy: remove unused arg specs and doc cleanup (#2361) --- .../extras/cloud/cloudstack/cs_snapshot_policy.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/cloudstack/cs_snapshot_policy.py b/lib/ansible/modules/extras/cloud/cloudstack/cs_snapshot_policy.py index 01efa107bea..ce8b2344f36 100644 --- a/lib/ansible/modules/extras/cloud/cloudstack/cs_snapshot_policy.py +++ b/lib/ansible/modules/extras/cloud/cloudstack/cs_snapshot_policy.py @@ -61,23 +61,23 @@ options: aliases: [ 'timezone' ] state: description: - - State of the resource. + - State of the snapshot policy. required: false default: 'present' choices: [ 'present', 'absent' ] domain: description: - - Domain the resource is related to. + - Domain the volume is related to. required: false default: null account: description: - - Account the resource is related to. + - Account the volume is related to. required: false default: null project: description: - - Name of the project the resource is related to. + - Name of the project the volume is related to. required: false default: null extends_documentation_fragment: cloudstack @@ -287,11 +287,9 @@ def main(): time_zone=dict(default='UTC', aliases=['timezone']), max_snaps=dict(type='int', default=8, aliases=['max']), state=dict(choices=['present', 'absent'], default='present'), - zone=dict(default=None), domain=dict(default=None), account=dict(default=None), project=dict(default=None), - poll_async=dict(type='bool', default=True), )) module = AnsibleModule(