Commit 049443b5 authored by Thomas Gambier's avatar Thomas Gambier

playbook: compare int not string

parent 3b543515
......@@ -14,8 +14,8 @@
- name: Install slapcache on Debian < 9
include: pip_installations_success.yml
when: ansible_distribution == "Debian" and ansible_distribution_major_version < "9"
when: ansible_distribution == "Debian" and ansible_distribution_major_version|int < 9
- name: Install slapcache on Debian >= 9
include: pip_installations_succeeded.yml
when: ansible_distribution == "Debian" and ansible_distribution_major_version >= "9"
when: ansible_distribution == "Debian" and ansible_distribution_major_version|int >= 9
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment