From 3e20ef88b57e0d8f470b0662bbacbfa0929809a8 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Mon, 7 Feb 2022 11:02:09 +0100 Subject: [PATCH] Fix pip exec --- ansible_install.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible_install.yaml b/ansible_install.yaml index 27406e84e..785d36795 100644 --- a/ansible_install.yaml +++ b/ansible_install.yaml @@ -98,7 +98,9 @@ when: ansible_python_version is version('3.6', '>=') - name: Install setuptools with pip - pip: executable=pip3 name=setuptools,six extra_args="-I" + name: setuptools,six + executable: "{{pip_exec}}" + extra_args: "-I" - name: Install cryptography pip: