Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create docker_plugin module #74

Closed
Cougar opened this issue Jan 22, 2021 · 4 comments · Fixed by #95
Closed

Create docker_plugin module #74

Cougar opened this issue Jan 22, 2021 · 4 comments · Fixed by #95
Labels
docker-plain plain Docker (no swarm, no compose, no stack)

Comments

@Cougar
Copy link

Cougar commented Jan 22, 2021

SUMMARY

Ansible module for Docker plugin management is missing. It would be nice to use special module instead of command or shell module where it is almost impossible to do any idempotency checks.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

docker_plugin would be the good candidate for this plugin name.

ADDITIONAL INFORMATION

For the reference, this is the usage info for docker plugin command:

Usage:  docker plugin COMMAND

Manage plugins

Commands:
  create      Create a plugin from a rootfs and configuration. Plugin data directory must contain config.json and rootfs directory.
  disable     Disable a plugin
  enable      Enable a plugin
  inspect     Display detailed information on one or more plugins
  install     Install a plugin
  ls          List plugins
  push        Push a plugin to a registry
  rm          Remove one or more plugins
  set         Change settings for a plugin
  upgrade     Upgrade an existing plugin

Run 'docker plugin COMMAND --help' for more information on a command.

Docker Python SDK already implements all necessary hooks.

@felixfontein
Copy link
Collaborator

There used to be a PR implementing such a module (ansible/ansible#52643) but it never completed. Might be useful as a starting point (including all the open review comments).

@felixfontein felixfontein added the docker-plain plain Docker (no swarm, no compose, no stack) label Jan 22, 2021
@sakar97
Copy link
Contributor

sakar97 commented Feb 25, 2021

Hi @felixfontein Can I start working on the docker plugin module. It may take a day or two to complete it as I already check the previous closed PR and discussions you guys had.
Thanks

@felixfontein
Copy link
Collaborator

@sakar97 as nobody else volunteered so far, feel free to work on that :)

@felixfontein
Copy link
Collaborator

resolved_by_pr #95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker-plain plain Docker (no swarm, no compose, no stack)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants