1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
This commit is contained in:
Sumit Roy 2015-12-23 11:21:28 -08:00 committed by Matt Clay
parent 3fd5173413
commit 8eeb30da3d

View file

@ -110,7 +110,7 @@ def get_elb_listeners(listeners):
def get_health_check(health_check): def get_health_check(health_check):
protocol, port_path = health_check.target.split(':') protocol, port_path = health_check.target.split(':')
try: try:
port, path = port_path.split('/') port, path = port_path.split('/', 1)
path = '/{}'.format(path) path = '/{}'.format(path)
except ValueError: except ValueError:
port = port_path port = port_path