Skip to main content

Playbook Reference

Use the top-level site playbooks for normal operator flows. Use phase playbooks only when you are intentionally resuming or inspecting a specific lifecycle step.

Top-Level Playbooks

PlaybookUse
playbooks/site-openshift-sno.ymlNormal single-node OpenShift deployment. Includes installer prep, artifacts, agent media, VM build, verification, pivot wait, install wait, install complete, media detach, and post-install validation.
playbooks/site-openshift-sno-redeploy.ymlRemoves the local SNO VM shell, then runs the SNO site playbook.
playbooks/site-openshift-compact.ymlCompact-cluster entrypoint. Imports the shared cluster site playbook.
playbooks/site-openshift-compact-redeploy.ymlCompact redeploy entrypoint. Imports the shared cluster redeploy playbook.
playbooks/site-openshift-cluster.ymlShared multi-node cluster lifecycle used by the compact path.
playbooks/site-openshift-cluster-redeploy.ymlCluster cleanup followed by the shared cluster lifecycle.

OpenShift Phase Playbooks

PlaybookUse
playbooks/cluster/openshift-installer-binaries.ymlPrepares openshift-install and oc for local cluster work.
playbooks/cluster/openshift-install-artifacts.ymlRenders install artifacts from cluster and guest variables.
playbooks/cluster/openshift-agent-media.ymlGenerates and publishes local agent install media.
playbooks/cluster/openshift-cluster.ymlProvisions the local OpenShift VM shells on the hypervisor.
playbooks/cluster/openshift-cluster-verify.ymlVerifies local cluster domains and agent ISO attachment.
playbooks/cluster/openshift-pivot-wait.ymlWaits for the first node pivot reboot. Used by the SNO path.
playbooks/cluster/openshift-install-wait.ymlRuns openshift-install wait-for bootstrap-complete.
playbooks/cluster/openshift-install-complete.ymlRuns openshift-install wait-for install-complete.
playbooks/cluster/openshift-cluster-cleanup.ymlRemoves local OpenShift cluster VM shells.
playbooks/maintenance/detach-install-media.ymlDetaches agent media and restores disk-first boot order.
playbooks/day2/openshift-post-install-validate.ymlRuns post-install validation after cluster bring-up.

Bootstrap Playbooks

PlaybookUse
playbooks/bootstrap/rhel10-vms.ymlBuilds one or more generic RHEL 10 guests from rhel10_vms.
playbooks/bootstrap/idm-local.ymlBuilds the local IdM VM from vars/guests/idm_vm.yml.

Host Policy Playbooks

PlaybookUse
playbooks/maintenance/host-resource-management-apply.ymlApplies host CPU pools and performance-domain slices.
playbooks/maintenance/host-resource-management-rollback.ymlRemoves host CPU policy artifacts.
playbooks/maintenance/host-memory-oversubscription-apply.ymlApplies zram, THP, and KSM policy.
playbooks/maintenance/host-memory-oversubscription-rollback.ymlRemoves memory policy service and restores rollback values.
playbooks/maintenance/cgroup-tiering-apply-v1.ymlApplies shared guest CPU placement to live VM scopes.
playbooks/maintenance/cgroup-tiering-rollback-v1.ymlRestores stock live VM CPU placement.
playbooks/maintenance/contention-tiering-apply-v1.ymlApplies Gold, Silver, and Bronze CPUWeight values to live VM scopes.
playbooks/maintenance/contention-tiering-rollback-v1.ymlRestores equal CPUWeight to managed VM scopes.
playbooks/maintenance/clock-frequency-tiering-apply-v1.ymlApplies the separate clock-tiering experiment.
playbooks/maintenance/clock-frequency-tiering-rollback-v1.ymlRolls back the clock-tiering experiment.

Examples

Run the normal SNO path:

ansible-playbook -i inventory/hosts.yml playbooks/site-openshift-sno.yml

Run the compact path with vault prompting:

ansible-playbook -K -i inventory/hosts.yml playbooks/site-openshift-compact.yml --ask-vault-pass

Resume only the OpenShift install completion wait:

ansible-playbook -i inventory/hosts.yml playbooks/cluster/openshift-install-complete.yml