ansible / proposals

Repository for sharing and tracking progress on enhancement proposals for Ansible.
Creative Commons Zero v1.0 Universal
93 stars 19 forks source link

Proposal: docker_images load image without specifying a name #130

Closed DavidZisky closed 6 years ago

DavidZisky commented 6 years ago

Proposal: docker_images load image without specifying a name

Author: David Zisky <@DavidZisky>

Date: 2018/07/18

Motivation

It would drastically improve the usability of this module in regards to loading images. When loading docker images from file manually You don't need to specify the name of the image (because docker gets it from the file itself). That should be the same for ansible as currently, it don't allow to build any automation if You need to download some images from other hosts or (in my particular case) you have one tar file in which there are few different images saved. In this case, docker_images will not be able to load images from that file (because You can only specify one name)

Problems

Solution proposal

Dependencies (optional)

Testing (optional)

Simply try to load docker image from tar file without specifying the name and loading few docker images from one tar file

Documentation (optional)

Just small addition/explanation how was it implemented in regards to "Name" parameter

agaffney commented 6 years ago

This should probably just be a normal feature request ticket in the ansible/ansible project. Proposals are for more far reaching changes to Ansible.

DavidZisky commented 6 years ago

Ahh, yes make sense, sorry will open FR there.