Make ec2 exact_count and count mutually exclusive

reviewable/pr18780/r1
James Tanner 11 years ago
parent e45b0c7dce
commit 7268d06bfe

@ -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