Commit graph

6 commits

Author SHA1 Message Date
ab5c374990
fix(wg): correct check for existing private key
Registering output of ‹ansible.builtin.stat› generates an object
containing ‹stat› member itself.

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-12-22 20:36:04 +01:00
4960068555
fix(wg): correctly template facts
When setting facts to outputs of some other tasks or variables, they need
to be correctly templated and quoted, otherwise they're taken as is,
i.e., as text.

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-12-22 20:35:23 +01:00
b49b5a3e91
fix(wg): improve generation of keypairs
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-20 18:13:02 +01:00
e3bff6c8c4
fix(install): refine the decision-making for OSs
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-18 15:15:49 +01:00
7760066325
fix(wg): correct path to config and variable
* use correct path to the template for the config
* use correct variable when adjusting the DNS on AlmaLinux

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-15 15:44:30 +02:00
bc2d4a291e
chore(wg): factor out the wireguard role
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 19:53:09 +02:00