Skip to content

Commit

Permalink
Merge pull request #35 from dannydorfel/debian-verion-int-to-string-c…
Browse files Browse the repository at this point in the history
…omparison

Added conversion to int in Debian version comparison
  • Loading branch information
NBZ4live committed Apr 16, 2018
2 parents 3b49cca + f9dd708 commit 3386bcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/1-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- include: 1-install-Debian.yml
when:
- ansible_distribution == "Debian"
- ansible_distribution_version >= 8
- ansible_distribution_version|int >= 8

- name: Install the php packages (APT)
apt: >
Expand All @@ -22,4 +22,4 @@
when: ansible_os_family == "Debian"
notify:
- restart php-fpm
tags: [packages,php,fpm]
tags: [packages,php,fpm]

0 comments on commit 3386bcf

Please sign in to comment.