Install python3-docker if ansible is running python 3

This commit is contained in:
Dan Arnfield 2020-01-24 06:59:42 -06:00
parent 2c04384e8e
commit bc620895ca

View file

@ -28,7 +28,7 @@
apt: apt:
name: name:
- bash-completion - bash-completion
- python-docker - "python{{'3' if ansible_python.version.major == 3}}-docker"
- ntp - ntp
- fuse - fuse
state: latest state: latest