Fix linter errors and add lint skip list

Make centos-8 job non voting, nspawn requries btrfs which is not
available on centos-8

Change-Id: Ib013981138209e56f1a0741d15bfe32dcd48702b
This commit is contained in:
Jonathan Rosser 2020-09-30 16:16:01 +01:00
parent e20e45fd41
commit b68c977c0f
4 changed files with 32 additions and 1 deletions

4
.ansible-lint Normal file
View File

@ -0,0 +1,4 @@
warn_list:
- '204' # Lines should be no longer than 160 chars
- '208' # File permissions unset or incorrect
- '701' # meta/main.yml should contain relevant info

View File

@ -30,7 +30,7 @@ galaxy_info:
- name: EL
versions:
- 7
categories:
galaxy_tags:
- cloud
- nspawn
- container

19
vars/ubuntu-20.04.yml Normal file
View File

@ -0,0 +1,19 @@
---
# Copyright 2018, 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 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.
_nspawn_map:
distro: ubuntu
arch: "{{ nspawn_architecture_mapping[container_architecture] }}"
release: focal

View File

@ -19,3 +19,11 @@
- openstack-ansible-role-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-ansible-functional-centos-8:
voting: false
gate:
jobs:
- openstack-ansible-functional-centos-8:
voting: false