From 3dfd17cc8c2494cf41266c0769bb34cc3f3b06db Mon Sep 17 00:00:00 2001 From: nold Date: Sun, 9 Jan 2022 11:22:54 +0100 Subject: [PATCH] Add: ansible/k3s-playbook.yml --- ansible/k3s-playbook.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ansible/k3s-playbook.yml diff --git a/ansible/k3s-playbook.yml b/ansible/k3s-playbook.yml new file mode 100644 index 00000000..7a9243ae --- /dev/null +++ b/ansible/k3s-playbook.yml @@ -0,0 +1,21 @@ +# K3s Setup/Update Playbook for my Homelab host +- hosts: localhost + connection: local + vars: + k3s_release_version: v1.22 + k3s_debug: false + k3s_registration_address: 192.168.1.111 + k3s_become_for_all: false + k3s_control_node: true + k3s_start_on_boot: false + k3s_server: + cluster-cidr: 10.0.0.0/8 + flannel-backend: "none" + default-local-storage-path: /data/kubernetes/storage + disable: + - traefik + - servicelb + disable-network-policy: true + + roles: + - ansible-role-k3s