Commit Graph

723 Commits (3b266bf1e2fb766a1e830339d32028aac68e1a06)

Author SHA1 Message Date
Constantin07 56fa475dcb Added delete_on_termination option for volume attachment 9 years ago
Brian Coca b08cf6b94f Merge pull request #2730 from bcoca/iam_policy_json
be smarter when dealing with policy_json input
9 years ago
Jon Hadfield 0320411d03 return allocation id for vpc address. 9 years ago
Matt Ferrante 2c75e72e83 updated s3 module documentation 9 years ago
Ben Visser 410ee32770 staging that num_nodes is required when state=present 9 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
9 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)
9 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
9 years ago
Brian Coca 6b13da738b updated module docs, added choices to state 9 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.
9 years ago
Jason Paige cc0ee4ad40 updating choices for rds parameter engines 9 years ago
Etherdaemon a56ffff51b Update to wait and wait_timeout with a maximum of 10 minutes timeout 9 years ago
Brian Coca 15dcabe012 Merge pull request #2541 from joshuaeke/patch-1
Update ec2.py remove state tag
9 years ago
Arthur Clement bfcdb05597 Example of single instance with ssd gp2 root volume creation 9 years ago
Brian Coca 43d2ecda06 Merge pull request #2546 from traveloka/fix-ec2-snapshot-info
Fix ec2_snapshot documentation
9 years ago
Toshio Kuratomi cd9a7667aa Don't raise or catch StandardError in amazon modules 9 years ago
Mike Buzzetti b00e1b556c Add evaluate taget health for alias based records 9 years ago
Brian Coca aad7497f18 Merge pull request #2542 from maxrothman/patch-1
Fix rds "promote" command never promoting
9 years ago
Etherdaemon 185a371efb Proposing a wait_for function to ensure elb has been successfully removed 9 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.
9 years ago
Michel Alexandre Salim b07ff99cac Fix ec2_snapshot documentation
last_snapshot_min_age is added in 2.0, not 1.9
9 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.
9 years ago
krdlab dd76b51990 Fix `self.changed` value in `ElbManager` (ec2_elb_lb) 9 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
9 years ago
Toshio Kuratomi 8ae30f1822 Minor simplification of code 9 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
9 years ago
Toshio Kuratomi 1270bacee7 Merge pull request #2425 from aioue/patch-5
Update ec2_elb_lb.py
9 years ago
Brian Coca 6bd8020f65 corrected version_added, removed empty alias 9 years ago
Brian Coca b789db7b9d Merge pull request #2211 from kai11/feature/spot_launch_group
Added launch group support for ec2 module
9 years ago
Keith Hassen 39ef6a1a80 Fail if any group name is not resolved to an ID. 9 years ago
Brian Coca 0e043f8c58 Merge pull request #2505 from donckers/devel
Fix #822 - Correct failure to overwrite existing records
9 years ago
Brian Coca 6d722608d6 Merge pull request #2413 from raben2/devel
Absent Function was not working on user with login profile
9 years ago
Daniel Donckers 3b8147af30 Fixes #822 9 years ago
Mike Riddle 062c7764e6 Fixed error message: TypeError: fail_json() takes exactly 1 argument (2 given) 9 years ago
Brian Coca 1d6b31a90f fixed break order 9 years ago
Tom Paine 4bc834485a Update ec2_elb_lb.py 9 years ago
Brian Coca 2c92fc4d3c Merge pull request #2484 from bcoca/ec2_elb_get_really_all
Ec2 elb get really all items
9 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…
9 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. 9 years ago
Marcin Stolarek 3193961cf5 It may be string with int comparison, if ansible user specifies identifier as int 9 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.
9 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
9 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
9 years ago
Tom Paine dd26c37f6b Update ec2_elb_lb.py
add connection draining default
9 years ago
Will Thames 0dd58e9326 Use connect_to_aws where possible
`connect_to_aws` fixes a bug with security tokens in AWS.
Modules should use that rather than calling
`boto.x.connect_to_region`
9 years ago
Toshio Kuratomi 62672b8b85 Merge pull request #2228 from abridgett/feature/add_ec2_elb_lb_idle_timeout
add idle_timeout support
9 years ago
Brian Coca cac69f3135 added missing version_added 9 years ago
Brian Coca aa6f80669a Merge pull request #534 from ferrants/ami-launch-permissions
ec2_ami can update an ami's launch_permissions
9 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 …
9 years ago
Brian Coca 3aee4b9469 Merge pull request #2326 from jibsheet/devel
Mark this as a string so it is rendered in the docs
9 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) 9 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
9 years ago
Brian Coca 59b87836d1 Merge pull request #2222 from pgilad/patch-1
Add state=running on some ec2 examples
9 years ago
Brian Coca d6c97bc880 Merge pull request #2381 from gregdek/devel
Module ownership changes
9 years ago
Brian Coca a38e0095f9 added missing version added 9 years ago
Brian Coca 6e905f0586 Merge pull request #1950 from frenchfrywpepper/cache_parameter_group_name
Expose cache_parameter_group_name in elasticache module
9 years ago
Brian Coca 794cbeea23 use marker instead of is_truncated which does not seem to work 9 years ago
Brian Coca b90318ae6c loop to get all load balancers, boto limited to 400 at a time
fixes #2115
9 years ago
Brian Coca 77ded03510 Merge pull request #953 from rwky/asg_542
Fixes #542 error when ec2_asg arguments aren't specified
9 years ago
Adrian Bridgett d4319555a0 Merge branch 'devel' into feature/add_ec2_elb_lb_idle_timeout
* devel: (84 commits)
  Document and return an error if httplib2 >= 0.7 is not present.  We
  since find doesn't make changes, support check mode and gather data for other tasks in check mode
  Correct typo in yum module docs
  Update doc to reflect password is required if adding a new user
  Update error message to be more explicit
  Simplify logic to handle options set to empty string
  Fix to issue 12912. Supply 'force' to install of python-apt.
  Note the difference between yum package groups and environment groups.
  rearranged systemd check, removed redundant systemctl check fixed unused cmd and state var assignements
  added earlier paths to systemd
  make os_router return a top level 'id' key
  Version bump for new beta 2.0.0-0.4.beta2
  allow os_port to accept a list of security groups
  allow os_server to accept a list of security groups
  Add capability for stat module to use more hash algorithms
  allow empty description attribute for os_security_group
  Update hostname.py
  simpler way to check if systemd is the init system
  make os_keypair return a top level 'id' key
  make os_flavor return a top-level 'id' key
  ...
9 years ago
Greg DeKoenigsberg 344cf5fc0e Remove @ralph-tice from maintainership per his request 9 years ago
Greg DeKoenigsberg 7cb9289197 Clarity of owner, even though module is deprecated 9 years ago
Greg DeKoenigsberg 57dcf2c9dd @lorin stepping down as maintainer 9 years ago
Brian Coca 3b5afc2393 made port default depending on db engine 9 years ago
Bermudez, Jaime 6992d0d465 Merge remote-tracking branch 'upstream/devel' into feature/iam_policy_present_state_includes_policy_changes 9 years ago
Bermudez, Jaime d5f48d29e1 Simplify logic around "present" state and skip dupes. If the policy doesn't exist or the policy document doesn't match or if we're not skipping dupes, then we go ahead and update the respective user/group/role policy. 9 years ago
Etherdaemon 08559670e5 Update try statement as pointed out by defionscode 9 years ago
Etherdaemon d6da9c1516 Merge branch 'devel' into fix_aws_iam_connection_12831 9 years ago
Kevin Falcone 735eefb2ca Mark this as a string so it is rendered in the docs
When this was treated as a boolean, sphinx was leaving the Default
column on http://docs.ansible.com/ansible/ec2_module.html blank,
implying it would use AWS's default.  In reality, it passes False, which
overrides the defaults at AWS (it's possible to boot an instance which
AWS claims will always have EBS optimization without it because of this
silently passed False).
9 years ago
Toshio Kuratomi bc3b1abd68 Another fix for docs 9 years ago
Toshio Kuratomi e41cde3116 Correct docs build 9 years ago
Brian Coca 377aaf526c Merge pull request #2292 from Constantin07/update_ec2_ami_find
Included 'block_device_mapping' in the output of module and other mis…
9 years ago
Constantin Bugneac 01b8432496 Added documentation for returned structure 9 years ago
Etherdaemon 2b2285eb67 fixes #12831 by updating the boto iam connection method to connect_to_region 9 years ago
Brian Coca 14f32de7a6 added missing version_added to new accesslogs feature 9 years ago
Brian Coca f4ed4b37a9 Merge pull request #2126 from nfelsen/access_logs
Adding support for access logs in ELB
9 years ago
Brian Coca 250b1f48fc Merge pull request #2274 from niothiel/devel
Remove duplicate logic
9 years ago
Brian Coca 300c816503 Merge pull request #2180 from wimnat/feature/issue-695
Resolve issue 695 (no change reported) and other misc fixes
9 years ago
Brian Coca 1ec0c1893a added note on when reboot command became available
fixes #2050
9 years ago
Constantin Bugneac e715f7f968 Included 'block_device_mapping' in the output of module and other missing attributes 9 years ago
Nathaniel Felsen 2e74b17fad fixing merge conflict 9 years ago
Brian Coca f2cd132cd0 Merge pull request #2287 from pgilad/patch-1
Docs: add state choices to ec2_elb_lb
9 years ago
Gilad Peleg 68e1ff2f81 Docs: remove redundant quotes in ec2_elb docs 9 years ago
Gilad Peleg 970185f2d2 Docs: add state choices to ec2_elb_lb
add state options (`present` and `absent`) to `ec2_elb-lb` doc
9 years ago
whiter 6fc58855b9 Allow iam_policy to maintain idempotentce if the role referenced has been removed 9 years ago
whiter cccef7b135 Remove access_key and secret_key as these are provided by aws doc fragment
Remove ec2 doc fragment as region is not required for IAM
9 years ago
whiter 5e61f0882b Add region to doc and handle missing region parameter 9 years ago
Rob 3360cef024 Update ec2_vol.py
Changed=true now reported on new volume.
Only detach volume when instance is specified as 'None' or '' rather than whenever instance is not specified at all
Fix regression caused by 6b27cdc where by no volume is created if id or Name is not supplied
Remove unnecessary empty aliases
Corrected example to use acceptable parameter for ions
Added exception handling to get_all_instances call
Moved the attachment state validation code to attach_volume function rather than create_volume function
Refactored attach_volume and detach_volume so that changed state can be passed back to call
Created get_volume_info function so that state=present and state=list can return the same data.  Also added instance_id as a returned value in attachment_set dict
Updated aws connection method so that boto profile can be used
9 years ago
Val Komarov 986d4064e9 Remove duplicate logic 9 years ago
Brian Coca 6f9ff0b914 Merge pull request #2248 from Constantin07/devel
ec2_vol: added deleteOnTermination in the output of list option
9 years ago
Brian Coca f1fc76d732 Merge pull request #2214 from fperks/fix-ec2-error-on-instance-status-change
Fix error on ec2 status change
9 years ago
Adrian Bridgett cc821492d3 remove unneeded aliases 9 years ago
Constantin Bugneac 83291dbefc Added deleteOnTermination in the output of list option 9 years ago
Abhijit Menon-Sen ebd8b12e15 Add missing variable initializations
Without this, «ec2: state=stopped instance_ids=…» would fail with a
traceback like this:

    if inst.get_attribute('sourceDestCheck')['sourceDestCheck'] != source_dest_check:
NameError: global name 'source_dest_check' is not defined
9 years ago
Frank van Tol 2c24d0482b Update ec2_asg.py 9 years ago
Adrian Bridgett 686ceb81d7 add idle_timeout support 9 years ago
Brian Coca 5f1f1b2904 Merge pull request #2216 from wimnat/feature/revert-1906
Set default of dimensions parameter to be empty dict
9 years ago
Rob 5a6599d70d Move import statements for easier debugging (correct line numbers) 9 years ago
Brian Coca 9eb0c178ec Merge pull request #725 from robbwagoner/cloudformation-resources
module cloudformation: include a CFN stack's resources in the result
9 years ago
Brian Coca 692781c936 Merge pull request #2070 from fvant/patch-7
We are copying from S3,  the bucket is the source, not the target.
9 years ago
Brian Coca 7af7ef2ef7 Merge pull request #2086 from wimnat/feature/issue-2085
Remove 'str' type so that json is properly quoted
9 years ago
Brian Coca 547690c785 Merge pull request #2169 from stelligent/devel
Replaces 'old' get_ec2_creds connection method with get_aws_connection_info
9 years ago
Brian Coca c4f64d822c changed modules to use common ec2 docs for region 9 years ago
fperks 7fd3262c3c Fix error on ec2 status change
Both `source_dest_check` and `termination_protection` variables are not
available within the scope of the startstopec2 instance method. This just
pulls them from module.params.
9 years ago
Gilad Peleg 5f914e854b Add state=running on some ec2 examples
`state=running` was missing in some of the ec2 module examples
9 years ago
Rob ca517abf07 Set default of dimensions parameter to be empty dict 9 years ago
Kai Webber d0b30dd86d Added launch group support for ec2 module 9 years ago
James Cammarata a3e7f5cfcc Merge pull request #2062 from wimnat/feature/iam_policy_doc_fix
Update iam_policy.py doc and state default parameter
9 years ago
Gerard Lynch 8b1ee3d6cb minor doc fix 9 years ago
Brian Coca da220e0bb0 added version_added 9 years ago
Nathaniel Felsen 8ec17d0fd9 Adding support for access logs in ELB 9 years ago
Alex Kessinger 4308ae25c4 Fix a argument mismatch in elasticache
I think in this commit 720aeffca2

There was bug introduced where the ElastiCacheManager init method has
a number of positional arguments like so.

```py
    def __init__(self, module, name, engine, cache_engine_version, node_type,
                 num_nodes, cache_port, parameter_group, cache_subnet_group,
                 cache_security_groups, security_group_ids, zone, wait,
                 hard_modify, region, **aws_connect_kwargs):
```

But then later in the code the positional arguments are passed in
like this.

```py
    elasticache_manager = ElastiCacheManager(module, name, engine,
                                             cache_engine_version, node_type,
                                             num_nodes, cache_port,
                                             cache_subnet_group,
                                             cache_security_groups,
                                             security_group_ids, parameter_group, zone, wait,
                                             hard_modify, region, **aws_connect_kwargs)
```

If you count, you can see that cache_subnet_group, is being passed in
where the manager expects to see parameter_group.
9 years ago
Brian Coca 653b55bf68 Merge pull request #2160 from j-carl/fix_amazon-cloudformation-userdir
Fix to handle user directory within parameter 'template'.
9 years ago
Jens Carl dc109387bd Change type of parameter 'template' to 'path'. 9 years ago
Shayne Clausson 841835ebac Replaces 'old' get_ec2_creds connection method with get_aws_connection_info to
support passing in security_token for temporary creds.
9 years ago
Toshio Kuratomi a4ac171a07 Merge pull request #2124 from halberom/ec2_adjust_vol_handling
ec2 - allow use of volume_type in volumes dict
9 years ago
Gerard Lynch 1857263b63 allow use of volume_type in volumes dict 9 years ago
Toshio Kuratomi d5f62798f0 Docs fixes 9 years ago
Toshio Kuratomi 6cad03644f Merge pull request #2130 from shawnsilva/modify-rds-size
Fix for modifying the size of an RDS instance.
9 years ago
Toshio Kuratomi 3b5f232d4d Merge pull request #2143 from atplanet/ec2-ami-mod-clarify-block-device-mapping
Clarify available options for device_mapping parameter of ec2_ami module
9 years ago
Jens Carl e25605cd5b Fix to handle user directory within parameter 'template'. 9 years ago
Tom Bamford 4e1d28e311 Clarify available options for device_mapping parameter of ec2_ami module 9 years ago
Shawn Silva ba8930c83a Fix for modifying the size of an RDS instance.
When attempting to modify the size of an RDS instance Ansible succeeds and
returns a "changed" status. However, no changes are applied to the RDS
instance. Boto is looking for a keyword parameter of "allocated_storage" to
update the size, and this parameter wasn't being included.
9 years ago
Selivanov Pavel ec24a86f69 ec2_group.py: added ICMP rule example 9 years ago
Brian Coca 8b7e692494 Merge pull request #1353 from awesomescot/devel
adding parameter group option
9 years ago
EC 9168ed4736 Fixing ec2_asg termination_policy
If this isnt set, it wont launch the instances because it needs to default to "Default" despite what boto docs say.
9 years ago
Rob 9bf0d06e4a Update iam_policy.py
Fixed doc for policy_name - it is a required field
Removed empty aliases
9 years ago
Gerard Lynch 3d12e53a28 order params, add missing tag param. update examples 9 years ago
whiter 719f68e057 Remove 'str' type so that json is properly quoted 9 years ago
Toshio Kuratomi 636eecf354 Fix improper indentation 9 years ago
Brian Coca 367b4f07a1 Merge pull request #2047 from tomfotherby/patch-1
Allow load_balancer_port as a Ansible variable
9 years ago
Brian Coca 4a8a54950c Merge pull request #2067 from wimnat/feature/issue-2066
Add exception handling to iam
9 years ago
James Cammarata 8125ae624a Merge pull request #2075 from evanccnyc/ec2_asgfix
fixing termination policies for ec2_asg
9 years ago
Evan Carter 2e84bb9c99 fixing termination policies for ec2_asg 9 years ago
Brian Coca 8a7946b91d Merge pull request #2064 from wimnat/feature/issue-2063
Remove unnecessary json.loads
9 years ago
Evan Carter 70ed99ec26 Fixing bug #2058 and adding some backwards compatibility 9 years ago
Frank van Tol a7667fcaf2 Update s3.py
We are copying from S3,  the bucket is the source, not the target.
9 years ago
Rob da29956f03 Add exception handling to iam 9 years ago
wimnat 8e9c85bed2 Remove unnecessary json.loads 9 years ago
Tom Fotherby 54ae73b1a3 Fix #1984 - allow load_balancer_port as a variable 9 years ago
Brian Coca 05c3b3ea15 minor doc fix 9 years ago
Brian Coca 951f5807b9 Merge pull request #2028 from rosmo/s3-permissions
Added option to set multiple ACLs for S3 objects
9 years ago
Taneli Lepp 15f4b59619 Added option to set multiple ACLs for S3 objects. Also verifies the
selected permissions against Boto's canned ACL strings list.
9 years ago
Brian Coca c4140cc6db Merge pull request #2021 from h3biomed/enis_at_launch
ec2: allow ENIs to be specified at instance launch
9 years ago
Yanchek99 7104096c7c Fixed typo for instance_tags documentation 9 years ago
Bret Martin 27e9318ffe Use general-purpose parameter mutual exclusion code for network_interfaces 9 years ago
Bret Martin 44f3618dd3 Add alias `network_interface` and accept a string for a single ENI 9 years ago
Bret Martin 5db3f14e94 Add network_interfaces example 9 years ago
Bret Martin a20a78a50c Remove aliases specification from documentation since there are none 9 years ago
Brian Coca f1efc121ee corrected whitepace 9 years ago
Toshio Kuratomi 34655e8e29 correct documentation formatting 9 years ago
Bret Martin eaa45dcbd9 Add network_interfaces parameter to ec2 module to support launch-time ENIs 9 years ago
Toshio Kuratomi 2520627fe7 Make sure listener ports are ints.
May fix #1984
9 years ago
Benno Joy 2f42cd4b2c Merge pull request #1951 from galindro/ec2_asg_termination_policies
Added termination_policies option
9 years ago
Benno Joy 26928dd7c6 Merge pull request #1990 from rickmendes/usability-enhancements
using single device_id and enabling release on disassociation
9 years ago
Benno Joy b5db274362 Merge pull request #1940 from jcowley/s3-permissions
Add support for S3 canned permissions. resolves #1939
9 years ago
Toshio Kuratomi 06fc029f73 Remove non-ascii quote char 9 years ago
Rick Mendes a18c96882e using single device_id and enabling release on disassociation 9 years ago
Benno Joy 66288d48a2 Merge pull request #1703 from haad/ec2_start_stop_by_tag
Rebase start/stop by instance tag
9 years ago
Benno Joy 512b485a90 Merge pull request #1871 from evanccnyc/devel
Adding the ability to associate eips with network interfaces on Amazon EC2
9 years ago
Timothy Appnel 2ba32a8b10 Clarified and cleaned up grammar of error messages. 9 years ago
Timothy Appnel 0e42b1708b Fixed call to undefined attribute when RDS module timeouts waiting. 9 years ago
Brian Coca 116793889f Merge pull request #1915 from leedm777/patch-1
ec2_vol: Added missing "needs 2.0" doc
9 years ago
Till Backhaus 39e7e05a8d Delete dead and broken code 9 years ago
James Cammarata 85ddb1b902 Fixing region requirement regarding euca clusters
Fixes ansible/ansible#11023
9 years ago
Bruno Galindro da Costa f7f621839a Added termination_policies option 9 years ago
Sarah Haskins b04efa22c4 Expose cache_parameter_group_name in elasticache module
The cache_parameter_group_name was not previously exposed in
elasticachy.py, I have exposed it, as optional.
9 years ago
Jason Cowley 8215aad3b3 Add support for S3 canned permissions. resolves #1939 9 years ago
HAMSIK Adam dfac073343 Rebase start/stop instance pull code 9 years ago
David M. Lee 6a8108133d ec2_vol: Added missing "needs 2.0" doc
The ability to find-or-create a volume was added in 2.0. Added note to
the example.
9 years ago
Michael J. Schultz 63d7bbea19 Return an iterable instead of None
By default `.get()` will return `None` on a key that doesn't exist. This
causes a `TypeError` in the `for` loop a few lines down. This change simply
returns an iterable type to avoid the error.
9 years ago
Toshio Kuratomi dea5f5d15e Another way that the serialization of the boto results can fail 9 years ago
Toshio Kuratomi 4c622a0338 Another launchconfig field needs to be explicitly converted for json serialization
Fixes #1848
9 years ago
HAMSIK Adam f4228d81d2 Convert enabled value to boolean to actually work, make sure we can set expiration period to 0(None) to disable it 9 years ago
Brian Coca 016b4ede2e minor doc fix 9 years ago
Evan Carter 06e722900e Adding the ability to associate eips with network interfaces 9 years ago
Ted Timmons 40519de8e7 fix ugly documentation
current version dumps a character per line in the docs: http://docs.ansible.com/ansible/cloudformation_module.html
9 years ago
Robert Jailall d10f3f7a7e Refactor ec2_snapshot to make it more testable 9 years ago
Hagai Kariti 1f447ad5ba made `wait` default to True in ec2_snapshot 9 years ago
Hagai Kariti a91db23b56 Add to the ec2_snapshot module the ability to create a snapshot only if one hasn't recently been created
- Added snapshot_max_age parameter
- Updated docs
- Made the default value of wait to be false, as it used to be
9 years ago
Toshio Kuratomi 42d3d02855 Merge pull request #51 from cewood/ec2-group/cidr-ip-list
Support specifying cidr_ip as a list
9 years ago
Toshio Kuratomi be468ff9d3 result is now a dict and so needs different access syntax
Fixes #1848
9 years ago
Toshio Kuratomi 4928357667 Remove unneeded urllib2 import 9 years ago
Brian Coca 1268a83eb7 Merge pull request #1782 from civisanalytics/iam_dont_delete_passwords_silently
iam: don't delete passwords by default
9 years ago
James Cammarata 79f21c6ec9 Fix missing params to download_s3file in s3 9 years ago
Brian Coca 697307f88c Merge pull request #1670 from mikeputnam/issue-1643-gpl-header
Add missing GPLv3 License header
9 years ago
James Cammarata 4c4e978360 Fixing s3 failures when bucket names contain dots 9 years ago
Brian Coca d6b9989c71 Merge pull request #1820 from jaimegago/patch-1
Fix example indentation bug
i seem to have misread the patch, i thought it was doing the contrary of what it was. Sorry, merging it in now.
9 years ago
Cameron Wood (@cewood) 4241d940b7 Support specifying cidr_ip as a list
Update/fix to Support specifying cidr_ip as a list

Unicode isn't compatible with python2, so we needed some other
solution to this problem. The simplest approach is if the ip item
isn't already a list, simply convert it to one, and we're done.
Thanks to @mspiegle for this suggestion.
9 years ago
Luke Rohde 88a0d79873 Use msg kwarg to pass error message in ec2_snapshot 9 years ago
Brian Coca 92f32a0253 added version added to headers in s3 9 years ago
Brian Coca 8227b48a6a minor doc fixes 9 years ago
Brian Coca 4b78b5597f Merge pull request #160 from acaire/s3-headers
S3 headers
9 years ago
Jaime Gago 1f62f5f580 Fix example indentation bug 9 years ago
Brian Coca cb90735b2a Merge pull request #1795 from feanil/feanil/s3_overwrite_early
If overwrite is set, download eagerly.
9 years ago
Brian Coca f4a17b3e97 Merge pull request #1802 from bcoca/ec2_fixes
ec2 fixes
9 years ago
Toshio Kuratomi 8a9405a55b Convert object into dict so it will turn into json properly 9 years ago
Brian Coca 481f300836 clarified error messages to actually give back ansible module option instead of internal boto field name 9 years ago
Jens Carl fd0fc5131c Fix missing alias "groups". 9 years ago
Scot Spinner abf2083671 one thing missed 9 years ago