diff --git a/tasks/dependencies.yml b/tasks/dependencies.yml index e6d4917..4f1dfb0 100644 --- a/tasks/dependencies.yml +++ b/tasks/dependencies.yml @@ -3,13 +3,13 @@ package: name: "python3-pip" state: "present" - when: "ansible_python_version | version_compare('3.0.0', '>=')" + when: "ansible_python_version is version_compare('3.0.0', '>=')" - name: "Install pip to manage python packages" package: name: "python-pip" state: "present" - when: "ansible_python_version | version_compare('3.0.0', '<=')" + when: "ansible_python_version is version_compare('3.0.0', '<=')" - name: "Install the passlib python library" pip: