diff options
| author | Ahmed AbdelHalim <[email protected]> | 2025-11-13 21:27:01 +0100 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2025-11-13 22:33:47 +0100 |
| commit | d557007188bcde5b8863049047c023dae0f91e79 (patch) | |
| tree | 543763718010aa433346f0ead57602a70a88c813 /group_vars/all.yml.example | |
| parent | 40123ac06a2574d1419dc47cb920a8acba416987 (diff) | |
Add mechanism to clean up wireguard configurations
When a wireguard configuration gets removed from the group/host
variables, the role now removes them and make sure only the files found
in the vars are the ones to be configured on the hosts
Diffstat (limited to 'group_vars/all.yml.example')
| -rw-r--r-- | group_vars/all.yml.example | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/group_vars/all.yml.example b/group_vars/all.yml.example index 0e9dd8c9..a4e90f14 100644 --- a/group_vars/all.yml.example +++ b/group_vars/all.yml.example @@ -58,7 +58,9 @@ vimrc_setup_script: | wireguard_autostart_connection: "wg-vpn0" wireguard_connections: - wg-vpn0: | + # All wireguard config files are prefixed with wg- + # The following connection will be named wg-vpn0 + vpn0: | [Interface] PrivateKey = your_private_key_here Address = 10.2.0.2/32 |
