---
- name: version check | Checking if distro is supported by this playbook
  fail:
    msg: "Distribution {{ ansible_distribution | lower }} not supported by this playbook"
  when: ansible_distribution | lower != 'ubuntu'

- name: version check | Checking if distro version is supported by this playbook
  fail:
    msg: "Distribution version {{ ansible_distribution_version }} not supported by this playbook"
  when: ansible_distribution_version != '18.04' and ansible_distribution_version != '16.04'
