mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-19 13:41:44 -03:30
subscription-manager status can in some circumstances just never terminates, with nothing indicating the problem from the Ansible playbook log. This makes it difficult to find the hosts misbehaving. Add a timeout to the subscription checks (defaulting to 3 minutes). This should be more than enough for normal circumstances while allowing easier troubleshooting, as the hosts will be FAILED instead of the playbook just waiting indefinitely.
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
---
|
|
## CentOS/RHEL/AlmaLinux specific variables
|
|
# Use the fastestmirror yum plugin
|
|
centos_fastestmirror_enabled: false
|
|
# Timeout (in seconds) for checking RHEL subscription status
|
|
rh_subscription_check_timeout: 180
|
|
|
|
## Flatcar Container Linux specific variables
|
|
# Disable locksmithd or leave it in its current state
|
|
coreos_locksmithd_disable: false
|
|
|
|
## Oracle Linux specific variables
|
|
# Install public repo on Oracle Linux
|
|
use_oracle_public_repo: true
|
|
|
|
## Ubuntu specific variables
|
|
# Disable unattended-upgrades for Linux kernel and all packages start with linux- on Ubuntu
|
|
ubuntu_kernel_unattended_upgrades_disabled: false
|
|
|
|
fedora_coreos_packages:
|
|
- python
|
|
- python3-libselinux
|
|
- ethtool # required in kubeadm preflight phase for verifying the environment
|
|
- ipset # required in kubeadm preflight phase for verifying the environment
|
|
- conntrack-tools # required by kube-proxy
|
|
- containernetworking-plugins # required by crio
|
|
|
|
## General
|
|
# Set the hostname to inventory_hostname
|
|
override_system_hostname: true
|
|
|
|
is_fedora_coreos: false
|
|
|
|
skip_http_proxy_on_os_packages: false
|
|
|
|
# If this is true, debug information will be displayed but
|
|
# may contain some private data, so it is recommended to set it to false
|
|
# in the production environment.
|
|
unsafe_show_logs: false
|