mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-03-08 10:35:22 +01:00
fix a CI linter issue
This commit is contained in:
parent
12ecc3823b
commit
d032d13083
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class ActionModule(ActionBase):
|
|||
if self._host_is_ipv6_address(host):
|
||||
return '[%s%s]:%s' % (user_prefix, host, path)
|
||||
|
||||
#preserve formatting of remote paths if host or user@host is explicitly defined in the path
|
||||
# preserve formatting of remote paths if host or user@host is explicitly defined in the path
|
||||
if ':' not in path:
|
||||
return '%s%s:%s' % (user_prefix, host, path)
|
||||
elif '@' not in path:
|
||||
|
|
|
|||
Loading…
Reference in a new issue