
Dependant patch [1] passes openstack_hosts step, so we're good to merge even with failing functional test not to make circular dependency. [1] https://review.opendev.org/#/c/689629/ Depens-On: https://review.opendev.org/#/c/728259/ Change-Id: If33ce6f55939ee7722bbab98d134f182cba0eb25
122 lines
3.4 KiB
YAML
122 lines
3.4 KiB
YAML
---
|
|
# Copyright 2016, 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.
|
|
|
|
## Defined required kernel
|
|
openstack_host_required_kernel: 3.10.0-327.13.1.el7.x86_64
|
|
openstack_host_sysstat_file: /etc/sysconfig/sysstat
|
|
openstack_host_sysstat_cron_file: /etc/cron.d/sysstat
|
|
openstack_host_cron_template: sysstat.cron.redhat.j2
|
|
openstack_host_module_file: /etc/modules-load.d/openstack-ansible.conf
|
|
|
|
openstack_host_sysstat_cron_mode: '0600'
|
|
|
|
## Kernel modules loaded on hosts
|
|
openstack_host_kernel_modules:
|
|
- name: 8021q
|
|
- name: "{{ (hostvars[inventory_hostname]['ansible_kernel'] is version('3.10.0-514', '>=')) | ternary('br_netfilter', '') }}"
|
|
- name: dm_multipath
|
|
- name: dm_snapshot
|
|
- name: ebtables
|
|
- name: ip6table_filter
|
|
- name: ip6_tables
|
|
- name: ip_tables
|
|
- name: ipt_MASQUERADE
|
|
- name: ipt_REJECT
|
|
- name: iptable_filter
|
|
- name: iptable_mangle
|
|
- name: iptable_nat
|
|
- name: ip_vs
|
|
- name: iscsi_tcp
|
|
- name: nf_conntrack
|
|
- name: "{{ (hostvars[inventory_hostname]['ansible_kernel'] is version('4.19', '<=')) | ternary('nf_conntrack_ipv4' ,'') }}"
|
|
- name: "{{ (hostvars[inventory_hostname]['ansible_kernel'] is version('4.19', '<=')) | ternary('nf_conntrack_ipv6' ,'') }}"
|
|
- name: nf_defrag_ipv4
|
|
- name: nf_nat
|
|
- name: nf_nat_ipv4
|
|
- name: vhost_net
|
|
|
|
## Base packages
|
|
_openstack_host_distro_packages:
|
|
- python-virtualenv
|
|
- python3-devel
|
|
|
|
## Bare metal base packages
|
|
_openstack_host_metal_distro_packages:
|
|
- bridge-utils
|
|
- cronie
|
|
- curl
|
|
- device-mapper-event
|
|
- dstat
|
|
- ebtables
|
|
- git
|
|
- iptables
|
|
- irqbalance
|
|
- kmod-libs
|
|
- kmod
|
|
- libselinux-python
|
|
- lvm2
|
|
- policycoreutils-python
|
|
- rsync
|
|
- rsyslog
|
|
- sysstat
|
|
- sudo
|
|
- time
|
|
- wget
|
|
- yum-plugin-rpm-warm-cache
|
|
- yum-utils
|
|
|
|
_package_repos_keys:
|
|
- name: openstack-queens
|
|
key: /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
|
|
keyfile: "gpg/764429E6"
|
|
- name: rdo-qemu-ev
|
|
key: /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization-RDO
|
|
keyfile: "gpg/61E8806C"
|
|
|
|
_package_list:
|
|
- name: epel-release
|
|
state: absent
|
|
- name: yum-plugin-priorities
|
|
state: present
|
|
- name: yum-utils
|
|
state: present
|
|
- name: "centos-openstack-release-*"
|
|
state: absent
|
|
- name: centos-release-ceph-jewel
|
|
state: absent
|
|
- name: centos-release-qemu-ev
|
|
state: absent
|
|
- name: centos-release-storage-common
|
|
state: absent
|
|
|
|
_package_repos:
|
|
- name: rdo-qemu-ev
|
|
file: rdo
|
|
description: "RDO CentOS-$releasever - QEMU EV"
|
|
baseurl: "{{ openstack_hosts_centos_mirror_url }}/7/virt/$basearch/kvm-common/"
|
|
gpgcheck: yes
|
|
- name: rdo-current-passed-ci
|
|
file: rdo
|
|
description: rdo-current-passed-ci
|
|
baseurl: "{{ openstack_hosts_rdo_repo_url }}"
|
|
gpgcheck: no
|
|
- name: rdo-deps
|
|
file: rdo
|
|
description: rdo-deps
|
|
baseurl: "{{ openstack_hosts_rdo_deps_url }}"
|
|
gpgcheck: no
|
|
|
|
_openstack_host_ca_location: /etc/pki/ca-trust/source/anchors/
|