Make ec2 exact_count and count mutually exclusive

pull/5910/head
James Tanner 11 years ago
parent b3ab7e7885
commit a62af82757

@ -1033,7 +1033,15 @@ def main():
volumes = dict(type='list'),
)
)
module = AnsibleModule(argument_spec=argument_spec)
module = AnsibleModule(
argument_spec=argument_spec,
mutually_exclusive = [
['exact_count', 'count'],
['exact_count', 'state'],
['exact_count', 'instance_ids']
],
)
ec2 = ec2_connect(module)

Loading…
Cancel
Save