From 764561b8eddef5d374e22c7bc05c484cffc32645 Mon Sep 17 00:00:00 2001 From: kaiokassiano Date: Fri, 3 Aug 2018 04:15:08 -0300 Subject: [PATCH] Add support for CentOS 7 This patch aims to ensure that this role is functional in centos-7. Change-Id: I10c9f480f352cce1bf7e8713a196a51a6d1e27a8 --- meta/main.yml | 5 ++++- vars/redhat-7.yml | 17 +++++++++++++++++ zuul.d/project.yaml | 6 ------ 3 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 vars/redhat-7.yml diff --git a/meta/main.yml b/meta/main.yml index c7d22a5..325ff7a 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -23,8 +23,11 @@ galaxy_info: platforms: - name: Ubuntu versions: - - bionic - xenial + - bionic + - name: EL + versions: + - 7 - name: opensuse versions: - 42.1 diff --git a/vars/redhat-7.yml b/vars/redhat-7.yml new file mode 100644 index 0000000..f1f791d --- /dev/null +++ b/vars/redhat-7.yml @@ -0,0 +1,17 @@ +--- +# 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 writing, 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. + +monasca_agent_distro_packages: + - git + - pkgconfig + - libvirt-devel diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index de318f4..0caa2a8 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -17,17 +17,11 @@ - openstack-ansible-role-jobs check: jobs: - # TODO(jrosser) Revert this once centos-7 passes - - openstack-ansible-functional-centos-7: - voting: false # TODO(jrosser) Revert this once opensuse-150 passes - openstack-ansible-functional-opensuse-150: voting: false gate: jobs: - # TODO(jrosser) Revert this once centos-7 passes - - openstack-ansible-functional-centos-7: - voting: false # TODO(jrosser) Revert this once opensuse-150 passes - openstack-ansible-functional-opensuse-150: voting: false