diff --git a/vars/main.yml b/vars/main.yml index cbfca96..173070c 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -8,7 +8,7 @@ py3_env_pip_pkgs: py3_env_versioned_pip_pkgs: - pkg: "requests" - version: "2.29.0" + version: '{% if ansible_distribution_version is version_compare("20.04", ">=") %}2.29.0{% else %}2.27.1{% endif %}' docker_python_deb_pkgs: - python3-docker