Point installer to community.general.docker_image

Fixes issue in Ansible 2.10.2 where docker_image command is not found.
This commit is contained in:
Marco Lussetti 2020-10-15 20:38:29 -07:00
parent 28e792056d
commit 8217d14e36
2 changed files with 2 additions and 1 deletions

View File

@ -78,6 +78,7 @@ Before you can run a deployment, you'll need the following installed in your loc
- [docker](https://pypi.org/project/docker/) Python module
+ This is incompatible with `docker-py`. If you have previously installed `docker-py`, please uninstall it.
+ We use this module instead of `docker-py` because it is what the `docker-compose` Python module requires.
- [community.general.docker_image collection](https://docs.ansible.com/ansible/latest/collections/community/general/docker_image_module.html)
- [GNU Make](https://www.gnu.org/software/make/)
- [Git](https://git-scm.com/) Requires Version 1.8.4+
- Python 3.6+

View File

@ -42,7 +42,7 @@
delegate_to: localhost
- name: Build sdist builder image
docker_image:
community.general.docker_image:
build:
path: "{{ role_path }}/files"
dockerfile: Dockerfile.sdist