1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2026-03-01 19:06:27 +01:00
infrastructure/roles/wireguard
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
..
handlers ansible-lint: address no-changed-when fatal errors 2023-03-26 16:57:00 +03:00
tasks wireguard: use service name to open firewall port 2022-10-16 20:52:45 +03:00
templates wireguard: Make missing hostvar failure more readable 2026-01-04 13:58:57 +01:00