From 426f93a29174106959ef8e0edda2d0363bbc5ed1 Mon Sep 17 00:00:00 2001 From: Frank van Tol Date: Mon, 13 Jul 2015 16:45:41 +0200 Subject: [PATCH] Remove default for engine_version Redis and memcached have different engine version numbering, there can not be a shared default value. --- lib/ansible/modules/cloud/amazon/elasticache.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/elasticache.py b/lib/ansible/modules/cloud/amazon/elasticache.py index 081553a19dd..5a9c11fdeb5 100644 --- a/lib/ansible/modules/cloud/amazon/elasticache.py +++ b/lib/ansible/modules/cloud/amazon/elasticache.py @@ -42,7 +42,6 @@ options: description: - The version number of the cache engine required: false - default: 1.4.14 node_type: description: - The compute and memory capacity of the nodes in the cache cluster @@ -477,7 +476,7 @@ def main(): state={'required': True, 'choices': ['present', 'absent', 'rebooted']}, name={'required': True}, engine={'required': False, 'default': 'memcached'}, - cache_engine_version={'required': False, 'default': '1.4.14'}, + cache_engine_version={'required': False}, node_type={'required': False, 'default': 'cache.m1.small'}, num_nodes={'required': False, 'default': None, 'type': 'int'}, cache_port={'required': False, 'default': 11211, 'type': 'int'},