1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2026-03-05 23:01:51 +01:00
infrastructure/roles/wireguard/templates
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
..
wg0.netdev.j2 wireguard: Make missing hostvar failure more readable 2026-01-04 13:58:57 +01:00
wg0.network.j2 Add WireGuard role 2021-07-06 20:58:15 +00:00