From 36274f63f223d04419acc27a56708657b5676897 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 16 Feb 2026 14:17:09 +0100 Subject: [PATCH] chore: restructure tasks - install, routing, firewall, performance --- AGENTS.md | 4 +++- tasks/config.yaml | 2 -- tasks/firewall.yaml | 2 ++ tasks/main.yaml | 10 ++++++++-- tasks/performance.yaml | 2 ++ tasks/routing.yaml | 2 ++ 6 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 tasks/config.yaml create mode 100644 tasks/firewall.yaml create mode 100644 tasks/performance.yaml create mode 100644 tasks/routing.yaml diff --git a/AGENTS.md b/AGENTS.md index 0a95b25..e174808 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,7 +12,9 @@ This role configures router functionality on Alpine Linux. ## Tasks 1. **install** - Install router components -2. **config** - Configure router settings +2. **routing** - Configure routing +3. **firewall** - Configure firewall +4. **performance** - Configure performance ## Testing diff --git a/tasks/config.yaml b/tasks/config.yaml deleted file mode 100644 index 032fd11..0000000 --- a/tasks/config.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# Configure router diff --git a/tasks/firewall.yaml b/tasks/firewall.yaml new file mode 100644 index 0000000..a320888 --- /dev/null +++ b/tasks/firewall.yaml @@ -0,0 +1,2 @@ +--- +# Configure firewall diff --git a/tasks/main.yaml b/tasks/main.yaml index 634e833..e21540a 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -3,5 +3,11 @@ - name: "install" ansible.builtin.import_tasks: "install.yaml" -- name: "config" - ansible.builtin.import_tasks: "config.yaml" +- name: "routing" + ansible.builtin.import_tasks: "routing.yaml" + +- name: "firewall" + ansible.builtin.import_tasks: "firewall.yaml" + +- name: "performance" + ansible.builtin.import_tasks: "performance.yaml" diff --git a/tasks/performance.yaml b/tasks/performance.yaml new file mode 100644 index 0000000..84b8265 --- /dev/null +++ b/tasks/performance.yaml @@ -0,0 +1,2 @@ +--- +# Configure performance diff --git a/tasks/routing.yaml b/tasks/routing.yaml new file mode 100644 index 0000000..ff2d32a --- /dev/null +++ b/tasks/routing.yaml @@ -0,0 +1,2 @@ +--- +# Configure routing