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