mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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) ]
|
supervisorctl_args = [ module.get_bin_path('supervisorctl', True) ]
|
||||||
|
|
||||||
if config:
|
if config:
|
||||||
supervisorctl_args.extend(['-c', config])
|
supervisorctl_args.extend(['-c', os.path.expanduser(config)])
|
||||||
if server_url:
|
if server_url:
|
||||||
supervisorctl_args.extend(['-s', server_url])
|
supervisorctl_args.extend(['-s', server_url])
|
||||||
if username:
|
if username:
|
||||||
|
|||||||
Reference in New Issue
Block a user