Merge "debian: add support"

This commit is contained in:
Zuul 2019-04-09 19:54:16 +00:00 committed by Gerrit Code Review
commit d14dc7a4e4
5 changed files with 17 additions and 4 deletions

View File

@ -44,11 +44,12 @@
- name: Check for a supported Operating System
assert:
that:
- (ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or
- (ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch') or
(ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or
(ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'bionic') or
(ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7') or
(ansible_os_family == 'Suse' and ansible_distribution_major_version in ['15', '42'])
msg: "The only supported platforms for this release are Ubuntu 16.04 LTS (Xenial), Ubuntu 18.04 LTS (Bionic), CentOS 7 (WIP) and openSUSE Leap 42.X and openSUSE Leap 15.X"
msg: "The only supported platforms for this release are Debian Stretch, Ubuntu 16.04 LTS (Xenial), Ubuntu 18.04 LTS (Bionic), CentOS 7 (WIP) and openSUSE Leap 42.X and openSUSE Leap 15.X"
- include_tasks: common-tasks/package-cache-proxy.yml
when: install_method == "source"

View File

@ -16,12 +16,13 @@
- name: Check for a supported Operating System
assert:
that:
- (ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or
- (ansible_distribution == 'Debian' and ansible_distribution_release == 'stretch') or
(ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or
(ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'bionic') or
(ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7') or
(ansible_os_family == 'Suse' and ansible_distribution_major_version in ['42', '15'])
msg: >-
The only supported platforms for this release are Ubuntu 16.04 LTS (Xenial),
The only supported platforms for this release are Debian Stretch, Ubuntu 16.04 LTS (Xenial),
Ubuntu 18.04 LTS (Bionic), CentOS 7, openSUSE Leap 42.X and openSUSE Leap 15.X
when: (check_operating_system | default(True))| bool
tags:

View File

@ -73,6 +73,15 @@
vars:
ansible_package: "file://{{ ansible_user_dir }}/src/github.com/ansible/ansible"
# debian
- job:
name: openstack-ansible-deploy-aio_metal-debian-stable
parent: openstack-ansible-deploy-aio
nodeset: debian-stable
vars:
action: deploy
scenario: aio_metal
# ubuntu
- job:
name: openstack-ansible-deploy-aio_lxc-ubuntu-bionic

View File

@ -69,10 +69,12 @@
name: openstack-ansible-deploy-aio_metal-jobs
check:
jobs:
- openstack-ansible-deploy-aio_metal-debian-stable
- openstack-ansible-deploy-aio_metal-centos-7
- openstack-ansible-deploy-aio_metal-ubuntu-bionic
gate:
jobs:
- openstack-ansible-deploy-aio_metal-debian-stable
- openstack-ansible-deploy-aio_metal-centos-7
- openstack-ansible-deploy-aio_metal-ubuntu-bionic
experimental: