mirror of
https://github.com/frappe/bench.git
synced 2024-11-14 09:14:04 +00:00
fix: version comparison
This commit is contained in:
parent
7af5e6732d
commit
6f3f8f6eb0
@ -19,11 +19,11 @@
|
||||
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
|
||||
with_items:
|
||||
- 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
|
||||
apt: pkg={{ item }} state=present force=yes
|
||||
|
Loading…
Reference in New Issue
Block a user