Skip to content

Commit 833b136

Browse files
authored
Merge pull request #9 from sitewards/ansible25-compatibility
[feat] ansible compatibility: update deprecated syntax
2 parents b607eb1 + 036f93c commit 833b136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/dependencies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
package:
44
name: "python3-pip"
55
state: "present"
6-
when: "ansible_python_version | version_compare('3.0.0', '>=')"
6+
when: "ansible_python_version is version_compare('3.0.0', '>=')"
77

88
- name: "Install pip to manage python packages"
99
package:
1010
name: "python-pip"
1111
state: "present"
12-
when: "ansible_python_version | version_compare('3.0.0', '<=')"
12+
when: "ansible_python_version is version_compare('3.0.0', '<=')"
1313

1414
- name: "Install the passlib python library"
1515
pip:

0 commit comments

Comments
 (0)