Update route53_zone.py

Proposed fix for issue #940

Fix: Include common AWS parameters in module arguments
pull/18777/head
steynovich 9 years ago committed by Matt Clay
parent 7f52951ee0
commit 8fff5ac9ce

@ -64,15 +64,14 @@ except ImportError:
def main():
module = AnsibleModule(
argument_spec=dict(
argument_spec = ec2_argument_spec()
argument_spec.update(dict(
zone=dict(required=True),
state=dict(default='present', choices=['present', 'absent']),
vpc_id=dict(default=None),
vpc_region=dict(default=None),
comment=dict(default=''),
)
)
comment=dict(default='')))
module = AnsibleModule(argument_spec=argument_spec)
if not HAS_BOTO:
module.fail_json(msg='boto required for this module')

Loading…
Cancel
Save