Skip to content

Commit 3386bcf

Browse files
authored
Merge pull request #35 from dannydorfel/debian-verion-int-to-string-comparison
Added conversion to int in Debian version comparison
2 parents 3b49cca + f9dd708 commit 3386bcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/1-install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- include: 1-install-Debian.yml
1010
when:
1111
- ansible_distribution == "Debian"
12-
- ansible_distribution_version >= 8
12+
- ansible_distribution_version|int >= 8
1313

1414
- name: Install the php packages (APT)
1515
apt: >
@@ -22,4 +22,4 @@
2222
when: ansible_os_family == "Debian"
2323
notify:
2424
- restart php-fpm
25-
tags: [packages,php,fpm]
25+
tags: [packages,php,fpm]

0 commit comments

Comments
 (0)