Container management is an essential part for automating the management of containerized applications and systems. Ansible is currently lacking any automation for the retrieval, publishing and querying of container registry images.
Proposed Solution
This collection should provide an Ansible-native solution equivalent of Skopeo.
Skopeo is a command-line tool used for copying container images from one registry to another. You can use Skopeo to copy images to and from a particular host as well as copy images to another container registry or environment. Apart from copying images, you can use it to inspect images from various registries and use signatures to create and verify images.
This Ansible content may be best implemented by wrapping Skopeo for its core logic. This is an implementation detail to be determined at a later date.
Note: This may cover some of the needs described in ACA-594 (Quay Collection for Ansible).
Requirements
TBD
User Experience
This solution should conform to the standard recommended Ansible practices. It should reduce the knowledge and time necessary to automate these use cases by abstracting implementation details and error handling and avoiding programming constructs at the play level with a concise declarative style interface. It should provide user conveniences such as reasonable parameter defaults and support of module defaults. The solution should also integrate with the Ansible Platform controller services such as its integrated credential management.
Documentation
The integrations and functionality described will require new documentation for each piece of content.
Use Cases
TBD