Automation Orchestrator install and tweaks

This commit is contained in:
2026-10-05 16:31:49 -04:00
parent c164cb2598
commit 7df35b9dd4
13 changed files with 272 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
---
# Defragment etcd on the single-node OpenShift cluster.
#
# OpenShift disables automatic etcd defragmentation on single-control-plane
# clusters, so run this on a schedule (e.g. weekly AAP schedule, off-hours).
# It only defragments when fragmentation exceeds the thresholds of the
# etcdDatabaseHighFragmentationRatio alert; otherwise it reports and exits.
#
# Usage:
# ansible-navigator run playbooks/maintain_sno_etcd.yml --mode stdout
# ansible-navigator run playbooks/maintain_sno_etcd.yml --mode stdout -e sno_etcd_defrag_force=true
- name: Defragment etcd on single-node OpenShift
hosts: sno.openshift.toal.ca
gather_facts: false
connection: local
environment:
KUBECONFIG: "{{ ocp_kubeconfig | default('~/.kube/config') }}"
K8S_AUTH_VERIFY_SSL: "false"
roles:
- role: sno_etcd_defrag