Files
openstack-ansible-openstack…/vars/ubuntu-22.04.yml
Dmitriy Rabotyagov 3cf5320038 Fix linters issue and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Change-Id: Ide0ca8cf60f3a92c98543465d53bc4720067b153
2023-07-14 05:47:17 +00:00

100 lines
2.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: 5.4.0-0-generic
openstack_host_sysstat_file: /etc/default/sysstat
openstack_host_sysstat_cron_file: /etc/cron.d/sysstat
openstack_host_cron_template: sysstat.cron.debian.j2
openstack_host_module_file: /etc/modules
## Kernel modules loaded on hosts
openstack_host_kernel_modules:
- name: 8021q
- name: br_netfilter
- name: dm_multipath
- name: dm_snapshot
- name: ebtables
- name: ip6table_filter
- name: ip6_tables
- name: ip_tables
- name: xt_MASQUERADE
- name: ipt_REJECT
- name: iptable_filter
- name: iptable_mangle
- name: iptable_nat
- name: ip_vs
- name: iscsi_tcp
- name: nbd
- name: nf_conntrack
- name: nf_defrag_ipv4
- name: nf_nat
- name: vhost_net
- name: x_tables
## Base packages
_openstack_host_distro_packages:
- acl
- apt-utils
## Bare metal base packages
_openstack_host_metal_distro_packages:
- apparmor-utils
- apt-transport-https
- bridge-utils
- cgroup-lite
- curl
- dmeventd
- dstat
- ebtables
- htop
- iptables
- irqbalance
- libkmod2
- lvm2
- rsync
- rsyslog
- software-properties-common
- sysstat
- time
- vlan
- wget
_package_repos_keys: []
## example:
# - id:
# file:
# keyserver:
# url:
# state:
_package_list:
- name: ubuntu-cloud-keyring
state: "{{ openstack_hosts_package_state }}"
- name: ca-certificates
state: latest
_package_repos:
- repo: >-
deb {{ apt_repo_url | default('http://ubuntu-cloud.archive.canonical.com/ubuntu') }}
{{ ansible_facts['lsb']['codename'] }}-updates/{{ openstack_distrib_code_name | lower }} main
state: present
filename: "uca"
_openstack_ca_bundle_path: /etc/ssl/certs/ca-certificates.crt
_openstack_hosts_package_manager_default_conf: |
APT::Install-Recommends "false";