Commit Graph

560 Commits (6dca72bc06adfa7c8ae40d87f1b886740fcbacb9)

Author SHA1 Message Date
Brian Coca b08cf6b94f Merge pull request #2730 from bcoca/iam_policy_json
be smarter when dealing with policy_json input
10 years ago
Ben Visser 410ee32770 staging that num_nodes is required when state=present 10 years ago
Brian Coca 1fe6479617 be smarter when dealing with policy_json input
Now module will assume that if the argument is a string it is already formated as json
and will only try to convert non strings into json string.
Also removed unused 'msg' var declarations and the ifs that set them
fixes #2009
10 years ago
Toshio Kuratomi d6d3a8b21c Merge pull request #1903 from andynelson/extra-route-targets
ec2_vpc module update (eni and vpc peering connections & return state on termination)
10 years ago
Toshio Kuratomi 5fe0fbbf20 Merge pull request #1883 from haad/ec2_elb_fixes
Two fixes for ec2_elb_lb module to make stickiness work with undefined expiration period
10 years ago
Brian Coca 6b13da738b updated module docs, added choices to state 10 years ago
Michel Alexandre Salim 18f4f5dcc6 Set the argument type for ec2_vol's encrypted parameter
If this is not set, Ansible parses the parameter as a string.
This is fine if the parameter is not provided by the caller, but
if it is set to False or True explicitly, ec2_vol receives this as
the string 'False' or the string 'True', both of which are truthy.

Thus, without this fix, setting the parameter results in encryption
always enabled.
10 years ago
Brian Coca 15dcabe012 Merge pull request #2541 from joshuaeke/patch-1
Update ec2.py remove state tag
10 years ago
Arthur Clement bfcdb05597 Example of single instance with ssd gp2 root volume creation 10 years ago
Brian Coca 43d2ecda06 Merge pull request #2546 from traveloka/fix-ec2-snapshot-info
Fix ec2_snapshot documentation
10 years ago
Toshio Kuratomi cd9a7667aa Don't raise or catch StandardError in amazon modules 10 years ago
Brian Coca aad7497f18 Merge pull request #2542 from maxrothman/patch-1
Fix rds "promote" command never promoting
10 years ago
Jay Rogers cab97cd2d9 Update in Amazon IAM Policy Documentation
There were typos in the documentation that made the examples seem misleading of what was being demonstrated. This update fixes that.
10 years ago
Michel Alexandre Salim b07ff99cac Fix ec2_snapshot documentation
last_snapshot_min_age is added in 2.0, not 1.9
10 years ago
Max Rothman f1f201c234 Fix rds "promote" command never promoting
Previously, the `promote` command in the `rds` module would always return OK and never actually promote an instance. This was because `promote_db_instance()` had its conditions backwards: if the instance had the `replication_source` attribute indicating that it **was** a replica, it would set `changed = False` and do nothing. If the instance **wasn't** a replica, it would attempt to run `boto.rds.promote_read_replica()`, which would always fail.
10 years ago
joshuaeke ab420300ef Update ec2.py remove state tag
'exact_count' and 'state' are mutually exclusive options they should not be in the following examples:
- # Enforce that 5 running instances named "database" with a "dbtype" of "postgres" example and 
- # Enforce that 5 instances with a tag "foo" are running
10 years ago
Toshio Kuratomi 8ae30f1822 Minor simplification of code 10 years ago
Toshio Kuratomi 5617cd57cf Merge pull request #2512 from erewh0n/ec2-require-all-groups
Fail ec2 module when group names cannot resolve to IDs
10 years ago
Toshio Kuratomi 1270bacee7 Merge pull request #2425 from aioue/patch-5
Update ec2_elb_lb.py
10 years ago
Brian Coca 6bd8020f65 corrected version_added, removed empty alias 10 years ago
Brian Coca b789db7b9d Merge pull request #2211 from kai11/feature/spot_launch_group
Added launch group support for ec2 module
10 years ago
Keith Hassen 39ef6a1a80 Fail if any group name is not resolved to an ID. 10 years ago
Brian Coca 0e043f8c58 Merge pull request #2505 from donckers/devel
Fix #822 - Correct failure to overwrite existing records
10 years ago
Brian Coca 6d722608d6 Merge pull request #2413 from raben2/devel
Absent Function was not working on user with login profile
10 years ago
Daniel Donckers 3b8147af30 Fixes #822 10 years ago
Mike Riddle 062c7764e6 Fixed error message: TypeError: fail_json() takes exactly 1 argument (2 given) 10 years ago
Brian Coca 1d6b31a90f fixed break order 10 years ago
Tom Paine 4bc834485a Update ec2_elb_lb.py 10 years ago
Brian Coca 2c92fc4d3c Merge pull request #2484 from bcoca/ec2_elb_get_really_all
Ec2 elb get really all items
10 years ago
Brian Coca 1258f82648 Merge pull request #2467 from cinek810/fix_ident
It may be string with int comparison, if ansible user specifies ident…
10 years ago
Marcin Stolarek b6223ca729 Save changes of special characters to rset, without that comparison rset.to_xml() == wanted_rset.to_xml() will fail if record contains * or @ characters. 10 years ago
Marcin Stolarek 3193961cf5 It may be string with int comparison, if ansible user specifies identifier as int 10 years ago
J Levitt 889274a525 Add rds restore example to list of examples
There was no db restore example. I've provided one that shows how to do the restore, then add a security group (you cannot add the security group during the restore step -- it has to be done in a modify step afterward). Also, I show how to get the endpoint.
10 years ago
Rabenstein 7d665db5e5 Squash of 3 commits for bugfix.
Absent unction was not working on user with login profile
also fixed the exception handling

fixed the delete user function
now works with or without loginprofile (password)

typo
10 years ago
Andy Nelson 9618986804 Update to ec2_vpc.py to:
1 allow interface ids and vpc peering connections as route targets
2 set state to "terminated" when VPC is removed
3 fix some comment typos

updates per PR comments
10 years ago
Tom Paine dd26c37f6b Update ec2_elb_lb.py
add connection draining default
10 years ago
Toshio Kuratomi 62672b8b85 Merge pull request #2228 from abridgett/feature/add_ec2_elb_lb_idle_timeout
add idle_timeout support
10 years ago
Brian Coca cac69f3135 added missing version_added 10 years ago
Brian Coca aa6f80669a Merge pull request #534 from ferrants/ami-launch-permissions
ec2_ami can update an ami's launch_permissions
10 years ago
Brian Coca c91da5714e Merge pull request #2279 from wimnat/feature/iam_policy_idempotentcy
Allow iam_policy to maintain idempotence if the role referenced has …
10 years ago
Brian Coca 3aee4b9469 Merge pull request #2326 from jibsheet/devel
Mark this as a string so it is rendered in the docs
10 years ago
Toshio Kuratomi 0de2627efc Make cache_parameter_group the name of this new param to match with similar params (leave old name as an alias) 10 years ago
Toshio Kuratomi e16c5c54fd Revert "Expose cache_parameter_group_name in elasticache module"
This PR #1950 implements duplicate functionality to #1353
This reverts commit b04efa22c4.

Conflicts:
	cloud/amazon/elasticache.py
10 years ago
Brian Coca 59b87836d1 Merge pull request #2222 from pgilad/patch-1
Add state=running on some ec2 examples
10 years ago
Brian Coca d6c97bc880 Merge pull request #2381 from gregdek/devel
Module ownership changes
10 years ago
Brian Coca a38e0095f9 added missing version added 10 years ago
Brian Coca 6e905f0586 Merge pull request #1950 from frenchfrywpepper/cache_parameter_group_name
Expose cache_parameter_group_name in elasticache module
10 years ago
Brian Coca 794cbeea23 use marker instead of is_truncated which does not seem to work 10 years ago
Brian Coca b90318ae6c loop to get all load balancers, boto limited to 400 at a time
fixes #2115
10 years ago
Brian Coca 77ded03510 Merge pull request #953 from rwky/asg_542
Fixes #542 error when ec2_asg arguments aren't specified
10 years ago