Commit graph

40 commits

Author SHA1 Message Date
James Cammarata
fd50dda268 Some cleanup for the rds/vpc_security_groups fix 2014-05-08 15:08:43 -05:00
James Cammarata
5eea0d0f0c Merge branch 'vpc_fix' of https://github.com/ebrevdo/ansible into ebrevdo-vpc_fix 2014-05-08 14:39:07 -05:00
Michael DeHaan
de3f7e4225 Merge pull request #6794 from follower/patch-4
Make `vpc_security_group` docs more accurate
2014-04-29 15:49:57 -04:00
Eugene Brevdo
898375418d VPC security group membership fix for boto.
* facts now provides a list of existing vpc security group memberships
* adding a comma separated list of sg-* tags properly modifies membership
2014-04-09 13:32:47 -07:00
Michael DeHaan
d9876343b1 Merge pull request #6798 from follower/patch-5
Clarify the port value always defaults to 3306
2014-04-02 17:34:33 -04:00
follower
6a78e9e416 Clarify the port value always defaults to 3306
While the [boto docs](https://github.com/boto/boto/blob/develop/boto/rds/__init__.py#L253) make it seem like the default value of `port` is changed depending on the engine chosen, AFAICT from looking at the code the default value is never changed from 3306.

I think the docs are intended to be read as "the default value used by <engine> is <port> so you should change `port` to that value".

If you don't specify the port value and chose the database engine as PostgreSQL you'll end up with a PostgreSQL instance running on port 3306.
2014-04-02 02:25:14 +13:00
jjshoe
167ca65fcb module_retention isn't defined anywhere, including the help. 2014-04-01 07:49:51 -05:00
follower
1e32467f62 Make vpc_security_group docs more accurate
Without the `subnet` parameter supplied there's an error `msg: Parameter vpc_security_groups invalid for create command`. (This might be a bug?)

If the VPC security group name rather than ID is supplied there's an error: `msg: Invalid security group , groupId= <some group name>, groupName=.` (Accepting a group name might be a feature enhancement.)

In my case I set the subnet as `default` and used `register` to get the result of the security group creation section and just referred to its `group_id` property.
2014-04-02 01:06:45 +13:00
Quinn Slack
af111774ef Add new cloud/rds DB instance types (db.m3 and db.cr1 families) 2014-03-03 19:59:27 -08:00
James Cammarata
6e47729d5a Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params
Conflicts:
	lib/ansible/module_utils/ec2.py
	library/cloud/ec2
2014-02-26 09:37:26 -06:00
Mohan Krishnan
1fa0b3365e Allow explict setting of vpc_security_groups to allow modification of security groups of RDS instances within a VPC 2014-02-10 14:01:45 +07:00
Scott Anderson
26e9c1ad61 Change standard AWS access and secret key parameter names to aws_access_key and aws_secret_key. Fixes an authentication problem with the rds module and standardizes the naming convention on something more encompassing than ec2_*_key. 2014-02-08 18:35:26 -05:00
jctanner
63e541f755 Merge pull request #5410 from willthames/rds_snapshot
rds module: add snapshot capabilities
2014-02-05 15:23:08 -05:00
jctanner
51fc8ef0a0 Merge pull request #5311 from willthames/ec2_refactor
ec2 modules: Move more responsibility to common EC2 module
2014-01-06 14:09:38 -08:00
Will Thames
5d41934873 rds module: add snapshot capabilities
Add the ability to create snapshots and restore from them
Make instance creation, deletion, restore, and snapshotting idempotent
(really helps testing a playbook if you can run it multiple times)
2013-12-24 20:32:49 +10:00
willthames
74f9f91abf Move more responsibility to common EC2 module
Moved `AWS_REGIONS` into `ec2` module
Created `ec2_connect` method in `ec2` module
Updated modules able to use `ec2_connect` and `AWS_REGIONS`
2013-12-17 14:07:24 +10:00
Mohan Krishnan
4cc45045d5 Adds postgres support for Ansible RDS module 2013-12-16 15:51:41 +08:00
James Tanner
ee1b117b9e Set version_added for new_instance_name in cloud/rds module 2013-12-13 13:54:08 -05:00
jctanner
291e0111e5 Merge pull request #5052 from bpennypacker/promote_rename
cloud/rds module: added promote command & updated modify command to allow for renaming of database instances.
2013-12-12 15:15:34 -08:00
Bruce Pennypacker
8a5d9531db fixed documentation & added rename example 2013-12-04 10:01:30 -05:00
James Tanner
4f9aadcc07 Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
Bruce Pennypacker
5cea67c011 Added promote command to promote read-replicas to standalone databases (http://aws.amazon.com/about-aws/whats-new/2012/10/11/amazon-rds-mysql-rr-promotion/). Added ability for the modify command to rename a database instance via the optional new_instance_name parameter 2013-11-25 13:16:41 -05:00
James Pharaoh
b9c602ea83 make rds handle vpc security groups properly 2013-09-02 20:40:41 +02:00
James Pharaoh
866090efb1 fix for rds region variable 2013-09-02 20:40:32 +02:00
Bruce Pennypacker
11470fea04 Rebase attempt
No idea if I'm rebasing properly or not.  This is my first attempt.
2013-08-20 15:14:16 -04:00
Michael DeHaan
7c4688c3ef Styling: indentation 2013-06-30 18:53:55 -04:00
Michael DeHaan
6958cf41ef Semicolons must die 2013-06-30 18:49:17 -04:00
Michael DeHaan
0ed5d18d60 Fixup versions of newly added modules. 2013-06-19 22:39:08 -04:00
Michael DeHaan
997bf64f3f Fix up some module docs formatting errors. 2013-06-19 22:37:09 -04:00
Michael DeHaan
78bc5fd729 Various code reformatting 2013-06-19 22:23:31 -04:00
Bruce Pennypacker
85c8c87361 Set master_password for modify command 2013-06-19 09:35:50 -04:00
Bruce Pennypacker
0b64077bbd added try/except around conn.get_all_dbinstances 2013-06-17 09:42:42 -04:00
Bruce Pennypacker
158d2a9a82 changed 'action' to 'command'. Fixed a tab issue. 2013-06-17 09:39:45 -04:00
Bruce Pennypacker
078a0ef7c7 Added replication_source to the results 2013-06-12 16:22:35 -04:00
Bruce Pennypacker
47bc6e7ff3 endpoint is available only when instance is available 2013-06-12 11:44:33 -04:00
Bruce Pennypacker
90c3e7685d Added modify action 2013-06-11 13:11:11 -04:00
Bruce Pennypacker
849cbfdf1c added 'facts' action 2013-06-11 10:45:50 -04:00
Bruce Pennypacker
eba6c4195e fixed bug in delete action - skip_final_snapshot must always be set 2013-06-10 15:49:38 -04:00
Bruce Pennypacker
2771625be4 Amazon RDS module 2013-06-10 12:17:31 -04:00