openstack-ansible-openstack.../vars/gentoo.yml

103 lines
3.5 KiB
YAML

---
# Copyright 2016, Rackspace US, Inc.
# Copyright 2017, SUSE LINUX GmbH.
#
# 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.
openstack_host_required_kernel: 4.14.65
openstack_host_sysstat_file: /etc/sysstat
openstack_host_sysstat_cron_file: /etc/cron.d/sysstat
openstack_host_cron_template: sysstat.cron.gentoo.j2
openstack_host_module_file: /etc/modprobe.d/openstack-ansible.conf
openstack_host_sysstat_cron_mode: '0644'
## Kernel modules loaded on hosts
openstack_host_kernel_modules:
- name: 8021q
- name: "{% if hostvars[inventory_hostname]['ansible_kernel'] | version_compare('4.4', '>=') %}br_netfilter{% endif %}"
- 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: nf_conntrack_ipv4
- name: nf_conntrack_ipv6
- name: nf_defrag_ipv4
- name: nf_nat
- name: 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.
- name: "{% if hostvars[inventory_hostname]['ansible_kernel'] | version_compare('4.4.0-0', '<') %}scsi_dh{% endif %}"
- name: vhost_net
- name: x_tables
## Package configuration
openstack_host_distro_use_flags:
- "app-admin/rsyslog openssl"
# once rabbitmq-server-3.7.10 is stable, remove the following line
- "dev-lang/erlang smp -wxwidgets"
- "dev-lang/python sqlite"
- "dev-db/mariadb galera sst-xtrabackup"
openstack_host_distro_keywords:
- "~net-misc/rabbitmq-server-3.7.9 ~amd64"
- "~dev-lang/elixir-1.6.6 ~amd64"
- "~dev-db/mariadb-10.3.12 ~amd64"
- "~dev-db/percona-toolkit-3.0.13 ~amd64"
- "~dev-db/percona-xtrabackup-bin-2.4.12 ~amd64" # because non-bin needs old glibc
- "~sys-cluster/galera-25.3.25 ~amd64"
- "~app-arch/qpress-1.1 ~amd64"
- "~dev-python/junit-xml-1.8 ~amd64"
openstack_host_gentoo_make_conf:
- "FEATURES=\"binpkg-multi-instance buildpkg -ccache cgroup clean-logs -collision-protect fixlafiles ipc-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install sign -stricter unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr -fail-clean -loadpolicy\""
- "EMERGE_DEFAULT_OPTS=\"--quiet-build --jobs=5 --binpkg-respect-use --rebuilt-binaries=y --usepkg --with-bdeps=y --binpkg-changed-deps=y\""
## Base packages
_openstack_host_distro_packages:
- dev-python/virtualenv
## Bare metal base packages
_openstack_host_metal_distro_packages:
- net-misc/bridge-utils
- net-misc/curl
- sys-apps/dstat
- net-firewall/ebtables
- net-firewall/iptables
- sys-apps/irqbalance
- sys-apps/kmod
- sys-fs/lvm2
- net-misc/rsync
- app-admin/rsyslog
- app-admin/sysstat
- app-admin/sudo
- sys-process/time
- net-misc/vconfig
- net-misc/wget
## Not used in Gentoo but needed for various tasks
_package_repos_keys: []
_package_list: []
_package_repos: []