From 32721881701b1cb7f256278bdad2c6c806ee859a Mon Sep 17 00:00:00 2001 From: Julien PRIGENT Date: Fri, 20 Jul 2018 14:52:03 +0100 Subject: [PATCH] elasticache_parameter_group.py: add parameter group compatibility with redis4.0 (#43041) --- .../modules/cloud/amazon/elasticache_parameter_group.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/elasticache_parameter_group.py b/lib/ansible/modules/cloud/amazon/elasticache_parameter_group.py index ea22b927262..c07b9d06009 100644 --- a/lib/ansible/modules/cloud/amazon/elasticache_parameter_group.py +++ b/lib/ansible/modules/cloud/amazon/elasticache_parameter_group.py @@ -37,7 +37,7 @@ options: description: - The name of the cache parameter group family that the cache parameter group can be used with. Required when creating a cache parameter group. - choices: ['memcached1.4', 'redis2.6', 'redis2.8', 'redis3.2'] + choices: ['memcached1.4', 'redis2.6', 'redis2.8', 'redis3.2', 'redis4.0'] name: description: - A user-specified name for the cache parameter group. @@ -285,7 +285,7 @@ def main(): argument_spec = ec2_argument_spec() argument_spec.update( dict( - group_family=dict(type='str', choices=['memcached1.4', 'redis2.6', 'redis2.8', 'redis3.2']), + group_family=dict(type='str', choices=['memcached1.4', 'redis2.6', 'redis2.8', 'redis3.2', 'redis4.0']), name=dict(required=True, type='str'), description=dict(default='', type='str'), state=dict(required=True),