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
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