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
| Variable | Type | Default | Description |
|---|---|---|---|
zarf_kubeconfig | str | "" | Path to the kubeconfig file used to reach the cluster. Left empty, uses default kubeconfig. |
zarf_delegate_to | str | localhost | The node on which to execute the zarf package list query. |
zarf_binary | str | zarf | Path to the zarf binary on the delegated host. |