Files
Kapisi/roles/Geth/tasks/worker.yml
T

8 lines
283 B
YAML
Raw Normal View History

---
- 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