mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #4477 from eggsby/devel
supervisorctl: user expansion on config filepath
This commit is contained in:
commit
a130a8e614
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue