diff --git a/roles/base/tasks/core_cert.yml b/roles/base/tasks/core_cert.yml index a9e104a..b21f631 100644 --- a/roles/base/tasks/core_cert.yml +++ b/roles/base/tasks/core_cert.yml @@ -11,9 +11,10 @@ - name: Upgrade pip pip: name: pip + executable: pip3 state: latest + extra_args: --upgrade when: ansible_python_version is version('3', '>=') - become: no - name: Install latest python2-cryptography package: