1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

supervisorctl: user expansion on config filepath

This commit is contained in:
Thomas Omans 2013-10-12 15:57:42 -07:00
parent a20d5462b6
commit 1dbdd9d6d1

View file

@ -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: