K3s deploy on Rpis -- Rancher will live in Node
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user