Files
Christian Heusel 797acabb26 wireguard: Make missing hostvar failure more readable
Previously the error message was missing the proper context to
understand which host did not have the host variable defined:

    Task failed: object of type 'HostVarsVars' has no attribute 'wireguard_public_key'

With the changes from this commit this error becomes much more readable:

    Task failed: The filter plugin 'ansible.builtin.mandatory' failed: bastion.archlinux.org is missing mandatory host var wireguard_public_key

Signed-off-by: Christian Heusel <christian@heusel.eu>
2026-01-04 13:58:57 +01:00
..