K3s deploy on Rpis -- Rancher will live in Node

This commit is contained in:
2026-08-05 16:38:28 -05:00
parent 311eb69d33
commit 08f5a533df
9 changed files with 1572 additions and 6 deletions
+7
View File
@@ -0,0 +1,7 @@
---
- name: Set up primary
become: yes
ansible.builtin.command:
cmd: '/bin/bash -c "K3S_TOKEN={{ secrets['Geth']['k3s_token'] }} K3S_URL=https://{{ geth_primary }}:6443 K3S_NODE_NAME=${HOSTNAME} /usr/local/sbin/get-k3s.sh"'
creates: /etc/systemd/system/k3s.service