openstack-ansible-openstack.../vars/redhat-7.yml

69 lines
1.7 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
## Kernel modules loaded on hosts
openstack_host_kernel_modules:
- 8021q
- dm_multipath
- dm_snapshot
- ebtables
- ip6table_filter
- ip6_tables
- ip_tables
- ipt_MASQUERADE
- ipt_REJECT
- iptable_filter
- iptable_mangle
- iptable_nat
- iscsi_tcp
- nf_conntrack
- nf_conntrack_ipv4
- nf_defrag_ipv4
- nf_nat
- nf_nat_ipv4
# TODO (odyssey4me): revise the minimum kernel version once this kernel version is commonplace
# If we end up with more requirements like this, then we should change the approach.
- "{% if hostvars[inventory_hostname]['ansible_kernel'] | version_compare('4.4.0-0-generic', '<') %}scsi_dh{% endif %}"
- vhost_net
- x_tables
## Base packages
openstack_host_yum_packages:
- bridge-utils
- '@Development Tools'
- curl
- device-mapper-event
- dstat
- ebtables
- htop
- iptables
- irqbalance
- kmod-devel
- kmod-libs
- kmod
- lvm2
- python-devel
- rsync
- rsyslog
- sshpass
- sysstat
- sudo
- time
- vconfig
- wget