community.docker icon indicating copy to clipboard operation
community.docker copied to clipboard

allow docker_plugin to upgrade a plugin

Open a-gerhard opened this issue 1 year ago • 0 comments

SUMMARY

It'd be nice if docker_plugin was able to upgrade plugins

ISSUE TYPE
  • New feature for existing module
COMPONENT NAME

docker_plugin

ADDITIONAL INFORMATION

don't really know what to put here. For upgrading, the plugin needs to disable, upgrade, and enable the plugin. I think that specifying something like state: latest should check for available upgrades, and apply the upgrade if needed. having a force flag might be useful to add the --force flag to the disable command.

Alternatively, provide a way to just call docker upgrade [plugin_name], and let the user take care of disabling and enabling it.

a-gerhard avatar Jun 27 '23 19:06 a-gerhard