Ubuntu 18.04 support #70

Closed
Ghost wants to merge 38 commits from ubuntu into unstable
2 changed files with 5 additions and 5 deletions
Showing only changes of commit ac66ede677 - Show all commits

View file

@ -2,9 +2,9 @@
- name: "Compatibility check"
fail:
msg: only compatible with Debian >= 8
msg: only compatible with Debian >= 8 AND Ubuntu >= 18.04
when:
- ansible_distribution != "Debian" or ansible_distribution_major_version | version_compare('8', '<')
- (ansible_distribution != "Debian" or ansible_distribution_major_version | version_compare('8', '<')) and (ansible_distribution != "Ubuntu" or ansible_distribution_major_version | version_compare('18', '<'))
tags:
- apt

View file

@ -3,9 +3,9 @@
- name: "System compatibility checks"
assert:
that:
- ansible_distribution == "Debian"
- ansible_distribution_major_version | version_compare('8', '>=')
msg: only compatible with Debian >= 8
- (ansible_distribution == "Debian") or (ansible_distribution == "Ubuntu")
- (ansible_distribution_major_version | version_compare('8', '>=')) or (ansible_distribution_major_version | version_compare('18', '>='))
msg: only compatible with Debian >= 8 AND Ubuntu >= 18.04
- name: Apt configuration
include_role: