|
|
@ -196,10 +196,10 @@ def remove_plugin(module, plugin_bin, plugin_name):
|
|
|
|
return True, cmd, out, err
|
|
|
|
return True, cmd, out, err
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_plugin_bin(module, plugin_bin):
|
|
|
|
def get_plugin_bin(module, plugin_bin=None):
|
|
|
|
# Use the plugin_bin that was supplied first before trying other options
|
|
|
|
# Use the plugin_bin that was supplied first before trying other options
|
|
|
|
if plugin_bin:
|
|
|
|
valid_plugin_bin = None
|
|
|
|
if os.path.isfile(plugin_bin):
|
|
|
|
if plugin_bin and os.path.isfile(plugin_bin):
|
|
|
|
valid_plugin_bin = plugin_bin
|
|
|
|
valid_plugin_bin = plugin_bin
|
|
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|