From 4cc45045d55541d4a54fa3969975d0eedbaaf9e8 Mon Sep 17 00:00:00 2001 From: Mohan Krishnan Date: Mon, 16 Dec 2013 15:51:41 +0800 Subject: [PATCH] Adds postgres support for Ansible RDS module --- cloud/rds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud/rds b/cloud/rds index 56e32ad2087..c7e2844113d 100644 --- a/cloud/rds +++ b/cloud/rds @@ -47,7 +47,7 @@ options: required: false default: null aliases: [] - choices: [ 'MySQL', 'oracle-se1', 'oracle-se', 'oracle-ee', 'sqlserver-ee', 'sqlserver-se', 'sqlserver-ex', 'sqlserver-web' ] + choices: [ 'MySQL', 'oracle-se1', 'oracle-se', 'oracle-ee', 'sqlserver-ee', 'sqlserver-se', 'sqlserver-ex', 'sqlserver-web', 'postgres'] size: description: - Size in gigabytes of the initial storage for the DB instance. Used only when command=create or command=modify. @@ -283,7 +283,7 @@ def main(): command = dict(choices=['create', 'replicate', 'delete', 'facts', 'modify', 'promote'], required=True), instance_name = dict(required=True), source_instance = dict(required=False), - db_engine = dict(choices=['MySQL', 'oracle-se1', 'oracle-se', 'oracle-ee', 'sqlserver-ee', 'sqlserver-se', 'sqlserver-ex', 'sqlserver-web'], required=False), + db_engine = dict(choices=['MySQL', 'oracle-se1', 'oracle-se', 'oracle-ee', 'sqlserver-ee', 'sqlserver-se', 'sqlserver-ex', 'sqlserver-web', 'postgres'], required=False), size = dict(required=False), instance_type = dict(aliases=['type'], choices=['db.t1.micro', 'db.m1.small', 'db.m1.medium', 'db.m1.large', 'db.m1.xlarge', 'db.m2.xlarge', 'db.m2.2xlarge', 'db.m2.4xlarge'], required=False), username = dict(required=False),