upt playbook

This commit is contained in:
jaydee
2023-10-24 00:11:12 +02:00
parent 327ea6f1a7
commit d6b39085a2
8 changed files with 26 additions and 66 deletions

View File

@ -4,7 +4,7 @@
tasks:
- name: Install K3S
ansible.builtin.shell: 'curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644" INSTALL_K3S_VERSION="v1.24.1+k3s1" sh -s -'
changed_when: false
#changed_when: false
- name: Get token
ansible.builtin.command: 'cat /var/lib/rancher/k3s/server/node-token'
register: k3s_token