Skip to content

Commit

Permalink
Merge pull request #9 from sitewards/ansible25-compatibility
Browse files Browse the repository at this point in the history
[feat] ansible compatibility: update deprecated syntax
  • Loading branch information
skalenji authored Jan 27, 2021
2 parents b607eb1 + 036f93c commit 833b136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 833b136

Please sign in to comment.