Juho-Mikko Pellinen
b4911a47d1
Change the default flag value to None to prevent AWS complaining: "Instance creation failed => InvalidBlockDeviceMapping: the encrypted flag cannot be specified since device /dev/sda1 has a snapshot specified."
2015-07-07 16:31:47 +03:00
Monty Taylor
dd9c292861
Update docstring to show port ranges as optional
2015-07-06 18:53:31 -04:00
David Shrewsbury
6933407cd4
Correct port matching logic
...
Port matching logic did not take into account recent shade change
to equate (None, None) to (1, 65535) when Nova is the backend.
Also, this encapsulates the port matching logic into a single function
and heavily documents the logic.
2015-07-06 18:50:03 -04:00
David Shrewsbury
8664c88417
Change required parameters for rules module
...
The ports and protocol are no longer required (and now depends on
a new version of shade).
2015-07-06 18:50:03 -04:00
Monty Taylor
9f03302b68
Use int in the parameter list instead of casting
2015-07-06 18:50:03 -04:00
dagnello
2e8daa2330
Resolving issues in rule comparison algorithm
...
Port range min/max values are at times represented as string and
compared to int equivalents. This fix explicitly ensures all
port range values are ints for proper comparisons.
2015-07-06 18:50:03 -04:00
David Shrewsbury
f027e75976
Compare ports as strings
...
Ports as returned from shade are ints. They are strings as they come
in to the module.
2015-07-06 18:50:03 -04:00
David Shrewsbury
9d0c8b0507
Fix syntax error
2015-07-06 18:50:03 -04:00
Monty Taylor
0e5942d7e7
Return rule object
2015-07-06 18:50:03 -04:00
David Shrewsbury
16b3b72294
Update secgroup rules module for latest shade
...
This allows the rules module to work against either nova or neutron
for handling security groups. New parameters for 'direction' and
'ethertype' are added.
Check mode is supported with this version.
2015-07-06 18:50:03 -04:00
David Shrewsbury
5b6c6cac20
Recongnize None and -1 port equivalency
...
shade 0.7.0 represents disabled min/max ports as None (in the
neutron style) rather than -1. Recognize this as the same as -1.
2015-07-06 18:50:03 -04:00
David Shrewsbury
5758b4ebdc
Fix id value reference
2015-07-06 18:50:03 -04:00
David Shrewsbury
8f2e70a1c1
Update rules mode for latest shade
...
Shade 0.7.0 normalized the security group data that is returned,
when using nova, to look more like neutron security group data.
This adjusts for that change.
2015-07-06 18:50:03 -04:00
dagnello
b98e6663e8
Minor fixes for os_security_group_rule module
...
Was not able to use this module as it was. The changes submitted
resolved the issues I ran into in order to get it working.
2015-07-06 18:50:03 -04:00
dagnello
d35df1f217
Minor fixes for os_security_group_rule module
...
Was not able to use this module as it was. The changes submitted
resolved the issues I ran into in order to get it working.
2015-07-06 18:50:02 -04:00
Davide Guerri
a9301ba918
Fix invalid syntax in openstack_module_kwargs call
2015-07-06 18:50:02 -04:00
Monty Taylor
08b4bb42c4
Fix example code syntax
2015-07-06 18:50:02 -04:00
Monty Taylor
08b2f31915
Add OpenStack Security Group Rule module
2015-07-06 18:50:02 -04:00
Juho-Mikko Pellinen
041dc8b587
Remove empty aliases
2015-07-06 13:08:46 +03:00
Juho-Mikko Pellinen
228c03bd67
Add version number
2015-07-06 13:07:33 +03:00
Juho-Mikko Pellinen
f0ad6c5a1f
Fix hosted_zone_id after rebase.
2015-07-06 13:02:24 +03:00
Juho-Mikko Pellinen
71ebe6321b
Add support for specifying unique hosted zone identifier
2015-07-06 11:31:02 +03:00
Juho-Mikko Pellinen
110f618487
Add support for specifying unique hosted zone identifier
2015-07-06 11:29:03 +03:00
Brian Coca
52543435d6
Merge pull request #1562 from micxer/iam_policy-json-string
...
Add the option to pass a string as policy
2015-07-04 19:11:34 -04:00
Brian Coca
981f0ad481
Merge pull request #1635 from smiller171/devel
...
update docs for cloudformation
2015-07-04 16:19:28 -04:00
Brian Coca
51b6b725cc
Merge pull request #1078 from andrewgdavis/devel
...
ansible_facts reflects 1.8 output
2015-07-04 15:19:22 -04:00
Scott Miller
c3c2e6ab72
Update cloudformation.py
...
Fix for inaccurate phrasing
2015-07-04 14:45:21 -04:00
Brian Coca
17bb405578
Merge pull request #1659 from mikeputnam/fix-docs-descrepancy
...
Upstream docs show launch_config_name as required.
2015-07-03 22:46:49 -04:00
Toshio Kuratomi
ac3024e57e
Merge pull request #1620 from robbwagoner/ec2_elb_lb_instances
...
return health of instances and counts
2015-07-02 10:58:02 -07:00
Robb Wagoner
8f0d462fd0
remove double dict & fix increment bug
2015-07-02 06:16:43 -07:00
Flyte
3d9a8caa59
Provide correct kwargs to rds2 connection when making a final snapshot
2015-07-02 09:32:10 +01:00
whiter
ee782d822b
Fixed dicts comparison for tags
2015-07-02 15:24:39 +10:00
Mike Putnam
5c17a99a1c
Upstream docs show launch_config_name as required.
...
http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_AutoScalingGroup.html
Fixes #11209
Ansible behavior is correct, this commit just updates the docs to
reflect that correctness.
2015-07-01 20:58:17 -05:00
Toshio Kuratomi
ff69ce7912
Merge pull request #1638 from j2sol/bugfix/os_server_afip_doc
...
Document auto_floating_ip argument
2015-07-01 08:15:53 -07:00
Toshio Kuratomi
c71f85377d
Merge pull request #1637 from defionscode/quick_iam_patch
...
no_log to iam password
2015-07-01 08:13:44 -07:00
Toshio Kuratomi
968386cba3
Merge pull request #1631 from emonty/features/single-cloud-details
...
Add filter ability to OpenStack os-client-config module
2015-07-01 08:07:37 -07:00
Toshio Kuratomi
8f13f8851f
Merge pull request #1582 from evanccnyc/devel
...
Add ClassicLink settings to EC2_launchconfig
2015-07-01 07:49:20 -07:00
Toshio Kuratomi
02b6df3160
Fix indentation levels in os_keypair
2015-07-01 05:00:39 -07:00
Toshio Kuratomi
8f74a73713
Merge pull request #1561 from micxer/iam_policy-fix
...
Fix connection creation in iam_policy module to allow usage of profiles with boto
2015-06-30 13:39:32 -07:00
Toshio Kuratomi
edad5c80ff
Few minor things from review of the pull request
2015-06-30 13:18:56 -07:00
Toshio Kuratomi
8703fb3c76
Merge pull request #1045 from emonty/feature/os_keypair
...
Add OpenStack Keypair module
2015-06-30 13:17:27 -07:00
Toshio Kuratomi
406402bb26
Merge pull request #332 from proby/add-s3-list
...
Add support for listing keys in a specific S3 bucket
2015-06-30 04:58:58 -07:00
Michael Weinrich
4da3a724f1
Fix connection creation to allow usage of profiles with boto
2015-06-30 08:51:36 +02:00
Brian Coca
79ad99bc67
Merge pull request #497 from robbwagoner/ec2_lc_user_data
...
ec2_lc - include all launch config properties in the return
2015-06-30 00:26:38 -04:00
Brian Coca
afeb3c8d07
Merge pull request #1031 from smashwilson/docker-wait
...
[docker] Wait for process exit on detached=no.
2015-06-30 00:24:02 -04:00
Brian Coca
8b290c6274
Merge pull request #831 from j-carl/feature-route53-nameserver
...
List the name servers of a zone. Fixes #801
2015-06-30 00:11:11 -04:00
Brian Coca
5f5f01833f
Merge pull request #1508 from tarrychk/issue_1442
...
Fix computation of port bindings
2015-06-29 23:54:27 -04:00
Brian Coca
038cc05f4e
Merge pull request #1609 from smashwilson/default-net-bridge
...
[docker] Prevent unnecessary reloads due to the net parameter
2015-06-29 23:38:32 -04:00
Brian Coca
ec15b67712
Merge pull request #547 from steveeJ/devel
...
Fix bind-volumes on docker >= 1.4.0
2015-06-29 20:13:23 -04:00
Jesse Keating
ddc78c82a4
Document auto_floating_ip argument
2015-06-29 14:06:50 -07:00
Toshio Kuratomi
7edacf6b1c
Use module.fail_json() instead of sys.exit()
2015-06-29 13:26:21 -07:00
David Shrewsbury
7970924bd5
Use newest documentation style for return value.
2015-06-29 15:55:15 -04:00
Jonathan Davila
def5fdcb21
no_log to iam password
2015-06-29 15:14:50 -04:00
David Shrewsbury
e6fc129013
Add a note about the return value.
2015-06-29 14:49:13 -04:00
Scott Miller
692045f693
update docs for cloudformation
2015-06-29 14:15:23 -04:00
Monty Taylor
7b0b75ceed
Fix dict syntax typo
2015-06-29 10:34:24 -04:00
whiter
786ec1dca1
ec2_vpc_net refactor
2015-06-29 09:32:45 +10:00
Robb Wagoner
5e674ddcfc
include all launch config properties in the return
...
make all properties available when registering the result
which is useful when wanting to launch a stand-alone instance based upon
an existing Launch Config.
2015-06-26 15:51:41 -07:00
Robb Wagoner
d651b41691
return health of instances and counts
2015-06-26 15:39:08 -07:00
Brian Coca
e864576f14
Merge pull request #1133 from defionscode/ec2_vpc2
...
New vpc module. does not contain subnet or route table functionality.
2015-06-26 16:15:15 -04:00
Davide Guerri
304e187a52
Fix reuse argument documentation
2015-06-26 14:53:48 +01:00
Davide Guerri
e3d9b51cbb
Update os_floating_ip with new shade methods
2015-06-26 12:53:20 +01:00
Ash Wilson
29e4a127e1
Default net to 'bridge' in container diff
...
This prevents an unnecessary reload when the `net` parameter is unspecified
(i.e. almost always).
2015-06-25 17:11:38 -05:00
Patrick Roby
e90d02c35c
iterate through all keys in a more pythonic manner
2015-06-25 10:37:17 -07:00
Patrick Roby
8ba96aaf4b
update documentation, adding new params
2015-06-25 10:36:07 -07:00
David Shrewsbury
bed420cd53
Update os_keypair for latest shade
...
Uses the latest version of shade for cleaner code. Also, always
return the key dict whether we create the key, or it already exists.
The example using public_key_file is corrected to use a full path
since ~ is not converted for us.
2015-06-25 12:19:20 -04:00
Toshio Kuratomi
964d731722
Add version_added documentation to log_driver parameter
2015-06-25 08:29:42 -07:00
Toshio Kuratomi
718f32a042
Merge pull request #1405 from ryanwalls/docker-module-log-driver
...
Add support for --log-driver option that docker released with Docker 1.6
2015-06-25 08:25:46 -07:00
Toshio Kuratomi
f42fed3d70
Merge pull request #1587 from micxer/iam-fix
...
Use aws connect calls that allow boto profile use
2015-06-25 08:23:54 -07:00
Toshio Kuratomi
d824a7a9f5
Merge pull request #255 from SDFE/s3_connect_params
...
Use aws connect calls that allow boto profile use
2015-06-25 08:23:15 -07:00
Patrick Roby
00322c43fc
Add support for listing keys in a specific S3 bucket
...
Includes support for specifying a prefix, marker, and/or max_keys. Returns a list of key names (as strings).
2015-06-24 12:18:23 -07:00
James Cammarata
65c63b3afa
Updating version_added for new spot_type param in ec2 module
...
Also made sure 'choices' were set on the module param, to catch errors
in user's playbooks, etc.
2015-06-24 14:43:04 -04:00
Jay Taylor
dbed8cee3b
Added support for spot request type specification (to support persistent spot requests).
2015-06-24 08:23:52 -07:00
Evan Carter
73d5a8a63a
Fixing typo
2015-06-24 11:05:37 -04:00
Michael Weinrich
559ad374f5
Add the option to pass a string as policy
2015-06-24 12:03:01 +02:00
zimbatm
29b00ba526
route53: add support for routing policies
...
It is now possible to pass various routing policies if an identity is
provided.
This commit also introduces multiple optimisations:
* Only fetch records for the given domain
* Use UPSERT instead of DELETE+CREATE to update existing records
2015-06-24 10:43:49 +01:00
Michael Weinrich
56d4f21c5f
Use aws connect calls that allow boto profile use
2015-06-24 11:20:47 +02:00
Benno Joy
3d8bf111b5
Merge pull request #1583 from civisanalytics/iam_accept_sts
...
iam: use modern helper to allow sts
2015-06-24 09:18:49 +05:30
Benno Joy
54bfdee1e0
Merge pull request #1494 from toninog/devel
...
fixes to iam group variables and delete group fixes
2015-06-24 08:32:47 +05:30
Benno Joy
80622a005d
Merge pull request #918 from defionscode/iam_cert
...
iam certificate module
2015-06-24 08:29:33 +05:30
billwanjohi
33533eb156
iam: use modern helper to allow sts
...
previous implementation ignored the session token when present
2015-06-23 18:42:30 +00:00
Jonathan Davila
7dac96e41b
iam certificate module
...
boto import tweak
style patch
2015-06-23 14:41:18 -04:00
Toshio Kuratomi
b088bcc378
Merge pull request #1572 from smereczynski/devel
...
Added new instance sizes
2015-06-23 11:40:58 -07:00
Jonathan Davila
c6f9e08282
new vpc module. does not contain subnet or route table functionality.
...
changed name to ec2_vpc_net
refactored out IGW functionality
2015-06-23 14:33:06 -04:00
Evan Carter
207abb6f5c
Add ClassicLink settings to EC2_launchconfig
2015-06-23 14:11:58 -04:00
James Cammarata
baff1bf7f0
Update choices and version_added for new gce.py param service_account_permissions
2015-06-23 13:16:28 -04:00
James Cammarata
5082a022ec
Merge branch 'create-gce-instance-with-service-account-scopes' of https://github.com/br0ziliy/ansible-modules-core into br0ziliy-create-gce-instance-with-service-account-scopes
2015-06-23 13:15:27 -04:00
Toshio Kuratomi
a1538b490e
Fix documentation
2015-06-23 08:57:06 -07:00
Benno Joy
5f6128a300
Merge pull request #205 from amandolo/ec2_module
...
AWS "EC2 instance" termination_protection and source_dest_check changeability at run-time + block_device_mapping output
2015-06-23 11:56:06 +05:30
Andrea Mandolo
fe4884e8f0
Added some block_device_mapping (disks) informations to EC2 instance module ouput
2015-06-23 07:14:54 +02:00
Andrea Mandolo
2f8300087e
Added "EC2 instance" termination_protection and source_dest_check changeability at run-time
2015-06-23 07:14:30 +02:00
Brian Coca
0652539ebc
Merge pull request #1567 from emonty/feature/os_security_group
...
Use dict not object notation in OpenStack Security Group
2015-06-22 11:21:04 -04:00
Tom Paine
74d9f74536
Parse out space characters in route53 value list
...
Fixes: https://github.com/ansible/ansible-modules-core/issues/992
2015-06-22 14:52:45 +01:00
Michal Smereczynski
1cfa21829b
Added new Premium Storage instance sizes and case-related documentation clarification.
2015-06-22 13:10:09 +02:00
Monty Taylor
850ed126e2
Remove duplicate shade requirement
2015-06-19 17:39:57 -04:00
Monty Taylor
94a8b6dccc
Make sure we're always returning objects too
2015-06-19 17:08:36 -04:00
dagnello
d7f65af6d9
Resolving secgroup.id issue in this module
...
secgroup['id'] was not being returned in all cases where the
specified security group exists.
2015-06-19 17:07:20 -04:00
Brian Coca
dddb8f9df1
Merge pull request #1548 from freshbooks/ec2_vol_example_fixes
...
Indentation fix for with and register in the ec2_vol example
2015-06-19 13:08:01 -04:00
Brian Coca
047d7f0775
Merge pull request #1545 from vtsingaras/vsphere_guest_template_no_resourcepool
...
Use either esxi:dc,host OR cluster,resource_pool
2015-06-19 09:28:56 -04:00
Vyronas Tsingaras
da62d04eff
This enable one to find a datastore with no config_target supplied
...
Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
2015-06-19 13:04:19 +03:00