|
|
@ -113,7 +113,7 @@ def main():
|
|
|
|
if os.path.exists(supervisorctl_path) and module.is_executable(supervisorctl_path):
|
|
|
|
if os.path.exists(supervisorctl_path) and module.is_executable(supervisorctl_path):
|
|
|
|
supervisorctl_args = [ supervisorctl_path ]
|
|
|
|
supervisorctl_args = [ supervisorctl_path ]
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
module.fail_json(msg="Provided path to supervisorctl does not exist or isn't executable: %s" % ctl_path)
|
|
|
|
module.fail_json(msg="Provided path to supervisorctl does not exist or isn't executable: %s" % supervisorctl_path)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
supervisorctl_args = [ module.get_bin_path('supervisorctl', True) ]
|
|
|
|
supervisorctl_args = [ module.get_bin_path('supervisorctl', True) ]
|
|
|
|
|
|
|
|
|
|
|
|