diff --git a/multi-node-aio/playbooks/setup-host.yml b/multi-node-aio/playbooks/setup-host.yml index d16ba4c6..ad0cd165 100644 --- a/multi-node-aio/playbooks/setup-host.yml +++ b/multi-node-aio/playbooks/setup-host.yml @@ -20,6 +20,16 @@ tags: - setup-host tasks: + - name: Check for a supported Operating System + assert: + that: + - (ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or + (ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'bionic') + msg: >- + The only supported host platforms for this tooling are Ubuntu 16.04 LTS (Xenial) + and Ubuntu 18.04 LTS (Bionic). Patches to add support for other distributions are + most welcome. + - name: Gather variables for each operating system include_vars: "{{ item }}" with_first_found: diff --git a/multi-node-aio/playbooks/vars/ubuntu.yml b/multi-node-aio/playbooks/vars/ubuntu.yml index b107ed26..d4c9ee57 100644 --- a/multi-node-aio/playbooks/vars/ubuntu.yml +++ b/multi-node-aio/playbooks/vars/ubuntu.yml @@ -17,10 +17,6 @@ mnaio_host_required_distro_packages: - ubuntu-cloud-keyring mnaio_host_package_repos: - - repo: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu {{ ansible_lsb.codename }}-updates/mitaka main" - state: present - filename: "uca" - condition: "{{ ansible_lsb.codename == 'trusty' }}" - repo: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu {{ ansible_lsb.codename }}-updates/queens main" state: present filename: "uca"