Remove duplicate logic

reviewable/pr18780/r1
Val Komarov 9 years ago
parent eb30416d71
commit 986d4064e9

@ -420,13 +420,7 @@ def main():
if module.boolean(overwrite): if module.boolean(overwrite):
overwrite = 'always' overwrite = 'always'
else: else:
overwrite='never' overwrite = 'never'
if overwrite not in ['always', 'never', 'different']:
if module.boolean(overwrite):
overwrite = 'always'
else:
overwrite='never'
region, ec2_url, aws_connect_kwargs = get_aws_connection_info(module) region, ec2_url, aws_connect_kwargs = get_aws_connection_info(module)

Loading…
Cancel
Save