From bc620895cabd98bb2a79078b3e560f7dea8154e7 Mon Sep 17 00:00:00 2001 From: Dan Arnfield Date: Fri, 24 Jan 2020 06:59:42 -0600 Subject: [PATCH] Install python3-docker if ansible is running python 3 --- roles/matrix-base/tasks/server_base/setup_debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-base/tasks/server_base/setup_debian.yml b/roles/matrix-base/tasks/server_base/setup_debian.yml index 3a9192f05..3460fd3d7 100644 --- a/roles/matrix-base/tasks/server_base/setup_debian.yml +++ b/roles/matrix-base/tasks/server_base/setup_debian.yml @@ -28,7 +28,7 @@ apt: name: - bash-completion - - python-docker + - "python{{'3' if ansible_python.version.major == 3}}-docker" - ntp - fuse state: latest