From 8eeb30da3d1dbcd5ebb18b063c77a76d72e6a852 Mon Sep 17 00:00:00 2001 From: Sumit Roy Date: Wed, 23 Dec 2015 11:21:28 -0800 Subject: [PATCH] Ensure that port_path is split into at most 2 components. cloudstack: cs_instance: fix do not require name to be set to avoid clashes Require one of display_name or name. If both is given, name is used as identifier. cloudstack: fix name is not case insensitive cloudstack: cs_template: implement state=extracted Update f5 validate_certs functionality to do the right thing on multiple python versions This requires the implementation in the module_utils code here https://github.com/ansible/ansible/pull/13667 to funciton fixed domain_id to actually be supported also added domain as an alias alt fixes #1437 Simplify the code and remove use_unsafe_shell=True While there is no security issue with this shell snippet, it is better to not rely on shell and avoid use_unsafe_shell. Fix for issue #1074. Now able to create volume without replica's. Improved fix for #1074. Both None and '' transform to fqdn. Fix for ansible-modules-extras issue #1080 --- lib/ansible/modules/extras/cloud/amazon/ec2_elb_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/cloud/amazon/ec2_elb_facts.py b/lib/ansible/modules/extras/cloud/amazon/ec2_elb_facts.py index bb789a0da3..8e683ad316 100644 --- a/lib/ansible/modules/extras/cloud/amazon/ec2_elb_facts.py +++ b/lib/ansible/modules/extras/cloud/amazon/ec2_elb_facts.py @@ -110,7 +110,7 @@ def get_elb_listeners(listeners): def get_health_check(health_check): protocol, port_path = health_check.target.split(':') try: - port, path = port_path.split('/') + port, path = port_path.split('/', 1) path = '/{}'.format(path) except ValueError: port = port_path