mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Add docker_image_load module (#90)
* Add docker_image_load module. * Polish module. * Fix bug and add tests. * Apply suggestions from code review Co-authored-by: Amin Vakil <info@aminvakil.com> * Make sure that containers that still exist are also cleared. * Always return stdout. * Try to work around removal problems. * Accept that the Docker daemon sometimes only reports the named image. * More debug output. * Also prune containers, in the hope that these cause the problems. * Let's see whether pruning containers (but not images) is enough. * Apply suggestions from code review Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> * Update plugins/modules/docker_image_load.py Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> Co-authored-by: Amin Vakil <info@aminvakil.com> Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
####################################################################
|
||||
# WARNING: These are designed specifically for Ansible tests #
|
||||
# and should not be used as examples of how to write Ansible roles #
|
||||
####################################################################
|
||||
|
||||
- when: ansible_facts.distribution ~ ansible_facts.distribution_major_version not in ['CentOS6', 'RedHat6']
|
||||
include_tasks:
|
||||
file: test.yml
|
||||
Reference in New Issue
Block a user