mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
supervisorctl: user expansion on config filepath
This commit is contained in:
@@ -118,7 +118,7 @@ def main():
|
||||
supervisorctl_args = [ module.get_bin_path('supervisorctl', True) ]
|
||||
|
||||
if config:
|
||||
supervisorctl_args.extend(['-c', config])
|
||||
supervisorctl_args.extend(['-c', os.path.expanduser(config)])
|
||||
if server_url:
|
||||
supervisorctl_args.extend(['-s', server_url])
|
||||
if username:
|
||||
|
||||
Reference in New Issue
Block a user