openstack-ansible-ops/multi-node-aio/playbooks/vars/ubuntu.yml
Jesse Pretorius 20c4cf2625 MNAIO: Add supported distro check and remove trusty support
Ubuntu Trusty is too old to support much of what this tooling does,
so we remove support for it and add a task to verify that a supported
distribution version is being used.

Change-Id: I0247be130dd4adf1d1d50518e6ec5c617a3a8f7c
2018-10-10 10:13:15 +01:00

63 lines
1.7 KiB
YAML

---
# Copyright 2017, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in witing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
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/queens main"
state: present
filename: "uca"
condition: "{{ ansible_lsb.codename == 'xenial' }}"
- repo: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu {{ ansible_lsb.codename }}-updates/rocky main"
state: present
filename: "uca"
condition: "{{ ansible_lsb.codename == 'bionic' }}"
mnaio_host_distro_packages:
- bridge-utils
- ifenslave
- iptables-persistent
- libguestfs-tools
- libvirt-bin
- lvm2
- ntp
- openssh-server
- python2.7
- python-lxml
- python-jmespath
- qemu-kvm
- qemu-utils
- software-properties-common
- virtinst
- virt-manager
- vlan
mnaio_pxe_distro_packages:
- tftpd-hpa
- inetutils-inetd
- nginx
- p7zip-full
mnaio_dhcp_distro_packages:
- isc-dhcp-server
mnaio_pkg_cache_server_distro_packages:
- apt-cacher-ng
mnaio_host_iptables_service: "{{ (ansible_lsb.codename == 'trusty') | ternary('iptables-persistent', 'netfilter-persistent') }}"
ssh_service_name: ssh