Install python3-docker if ansible is running python 3
This commit is contained in:
parent
2c04384e8e
commit
bc620895ca
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
apt:
|
||||
name:
|
||||
- bash-completion
|
||||
- python-docker
|
||||
- "python{{'3' if ansible_python.version.major == 3}}-docker"
|
||||
- ntp
|
||||
- fuse
|
||||
state: latest
|
||||
|
|
Loading…
Add table
Reference in a new issue