2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 17:24:04 +00:00

fix: version comparison

This commit is contained in:
Saurabh 2019-10-21 15:40:19 +05:30
parent 7af5e6732d
commit 6f3f8f6eb0

View File

@ -19,11 +19,11 @@
when: ansible_distribution_version | version_compare('14.04', 'ge') when: ansible_distribution_version | version_compare('14.04', 'ge')
- name: install pdf prerequisites for Ubuntu < 16.04 - name: install pdf prerequisites for Ubuntu < 18.04
apt: pkg={{ item }} state=present force=yes apt: pkg={{ item }} state=present force=yes
with_items: with_items:
- libssl-dev - libssl-dev
when: ansible_distribution_version | version_compare('16.04', 'lt') when: ansible_distribution_version | version_compare('18.04', 'lt')
- name: install pdf prerequisites for Ubuntu >= 18.04 - name: install pdf prerequisites for Ubuntu >= 18.04
apt: pkg={{ item }} state=present force=yes apt: pkg={{ item }} state=present force=yes