From af5feca667773fdbae1365b1b49913e20bbc6af7 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Sun, 21 Sep 2025 19:44:20 +0200 Subject: [PATCH] Document possible tags for the ansible-playbook The playbook itself is written to be idempotent, so it doesn't hurt to run all tasks many times. But, it doesn't need to run all tasks all the time, therefore you can limit the executional-scope with the documented tags to only affect certain tasks. This improves the performance a lot! --- README.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.adoc b/README.adoc index 4071512..b0dea6f 100644 --- a/README.adoc +++ b/README.adoc @@ -102,6 +102,19 @@ To apply the playbook you may need to install additional packages: * python3-kubernetes (Debian/Ubuntu) -- + +==== Configured tags + +init:: Everything needed for the initial setup +add-server:: Everything needed to add a new https://docs.k3s.io/cli/server[server] to the cluster +add-agent:: Everything needed to add a new https://docs.k3s.io/cli/agent[agent] to the cluster +update:: Everything needed to update the cluster +config:: Everything needed to update the local kube-config +k8s:: Everything needed to provide the foundational services + +[TIP] +The affected scope of the ansible-playbook can be limited with tags (`--tags tag1,tag2`): + == Enlarge / Reduce size of cluster Increase::