##### SUMMARY
See https://github.com/ansible/ansible/blob/88d8cf8197c53edd3bcdcd21429eb4c2bfbf0f6a/lib/ansible/module_utils/basic.py#L699-L706

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
lib/ansible/module_utils/basic.py

##### ANSIBLE VERSION
```paste below
2.9
devel
```

try:
                begin = data.rindex('://', 0, sep_search_end)
            except ValueError:
                
                
                begin = 0
            
            try:
                sep = data.index(':', begin + 3, end)
            except ValueError:
                
                if begin == 0:
                    
                    
                    output.insert(0, data[0:begin])
                    break
                
                sep_search_end = begin
                continue
        if sep:
            
            output.insert(0, data[end:prev_begin])
            output.insert(0, '********')
            output.insert(0, data[begin:sep + 1])
            prev_begin = begin
    output = ''.join(output)
    if no_log_values:
        output = remove_values(output, no_log_values)
    return output
def _load_params():