Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

packages

List all Zarf packages deployed to a cluster into an Ansible fact.

Include it as colonel_byte.zarf.packages.

Added in colonel_byte.zarf 0.31.0.

Queries the cluster via zarf package list and sets the resulting package list as the zarf_packages fact.

Every task carries run_once: true and delegates to zarf_delegate_to.

Variables

VariableTypeDefaultDescription
zarf_kubeconfigstr""Path to the kubeconfig file used to reach the cluster. Left empty, uses default kubeconfig.
zarf_delegate_tostrlocalhostThe node on which to execute the zarf package list query.
zarf_binarystrzarfPath to the zarf binary on the delegated host.