From acc51c29447b27cf2266437ce019c83f06ddee7b 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 --- cloud/amazon/ec2_elb_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/ec2_elb_facts.py b/cloud/amazon/ec2_elb_facts.py index 8b7853ac6f6..549b87bac07 100644 --- a/cloud/amazon/ec2_elb_facts.py +++ b/cloud/amazon/ec2_elb_facts.py @@ -112,7 +112,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