From 7221496f0555bbdd1601ea70da2a9ca99cd34488 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 3 Sep 2025 02:26:21 +0200 Subject: Refactor: rename wireguard_gateway to gateway As the role now functions as a gateway and not just a wireguard gateway it's better name for clarity --- roles/gateway/meta/argument_specs.yml | 10 ++++++++++ roles/gateway/meta/main.yml | 20 ++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 roles/gateway/meta/argument_specs.yml create mode 100644 roles/gateway/meta/main.yml (limited to 'roles/gateway/meta') diff --git a/roles/gateway/meta/argument_specs.yml b/roles/gateway/meta/argument_specs.yml new file mode 100644 index 00000000..d6520641 --- /dev/null +++ b/roles/gateway/meta/argument_specs.yml @@ -0,0 +1,10 @@ +--- +argument_specs: + main: + description: "Configure the PI as a network gateway forcing all traffic through it (or through active VPN on it)" + author: "a14m" + options: + gateway_enabled: + description: "Toggle flag for enabling/disabling network gateway configurations" + type: "bool" + default: false diff --git a/roles/gateway/meta/main.yml b/roles/gateway/meta/main.yml new file mode 100644 index 00000000..36df4aad --- /dev/null +++ b/roles/gateway/meta/main.yml @@ -0,0 +1,20 @@ +--- +dependencies: + - "wireguard" + +galaxy_info: + author: "a14m" + description: "Install and configure WireGuard VPN as a network gateway" + company: "kartoffeln.work GmbH." + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" + - name: "Ubuntu" + versions: + - "noble" + - name: "Debian" + versions: + - "bookworm" -- cgit v1.2.3