Skip to content

Commit

Permalink
fix: version comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh6790 committed Oct 21, 2019
1 parent 7af5e67 commit 6f3f8f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playbooks/roles/common/tasks/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f3f8f6

Please sign in to comment.