From 0d3ed305840573a81e8ed0fcdd3ce0593e578903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 4 Oct 2026 02:53:11 +0000 Subject: [PATCH] bump k3s version to v1.37.1+k3s1 --- nodes/ansible/README.md | 26 +++++++++++++++++++++++- nodes/ansible/group_vars/all/public.yaml | 2 +- nodes/ansible/os-get-info.playbook.yaml | 7 ------- nodes/ansible/os-reboot.playbook.yaml | 8 -------- nodes/ansible/os-update.playbook.yaml | 8 -------- 5 files changed, 26 insertions(+), 25 deletions(-) delete mode 100644 nodes/ansible/os-get-info.playbook.yaml delete mode 100644 nodes/ansible/os-reboot.playbook.yaml delete mode 100644 nodes/ansible/os-update.playbook.yaml diff --git a/nodes/ansible/README.md b/nodes/ansible/README.md index 668a2ba..89ae04c 100644 --- a/nodes/ansible/README.md +++ b/nodes/ansible/README.md @@ -6,8 +6,32 @@ Install requirements. ansible-galaxy collection install -r requirements.yml --collections-path=./collections --force -vvv ``` -## crictl - prune +crictl - prune ```bash ansible-playbook mylimbo.globals.k3s.crictl_prune ``` + +k3s - setup registries cache + +``` bash +ansible-playbook mylimbo.globals.k3s.registries_cache_mysetup +``` + +Get nodes info. + +```bash +ansible-playbook mylimbo.globals.host_maintenance.os_info +``` + +Update. + +```bash +ansible-playbook mylimbo.globals.host_maintenance.os_update +``` + +reboot. + +```bash +ansible-playbook mylimbo.globals.host_maintenance.os_reboot +``` diff --git a/nodes/ansible/group_vars/all/public.yaml b/nodes/ansible/group_vars/all/public.yaml index bc9abd1..4a51518 100644 --- a/nodes/ansible/group_vars/all/public.yaml +++ b/nodes/ansible/group_vars/all/public.yaml @@ -1,3 +1,3 @@ -k3s_version: "v1.36.3+k3s1" +k3s_version: "v1.37.1+k3s1" # execute on server to get token # cat /var/lib/rancher/k3s/server/node-token \ No newline at end of file diff --git a/nodes/ansible/os-get-info.playbook.yaml b/nodes/ansible/os-get-info.playbook.yaml deleted file mode 100644 index 9efed0b..0000000 --- a/nodes/ansible/os-get-info.playbook.yaml +++ /dev/null @@ -1,7 +0,0 @@ -- name: OS Info playbook - hosts: - - all - become: true - tasks: - - ansible.builtin.import_tasks: - file: tasks/os-get-info.yaml \ No newline at end of file diff --git a/nodes/ansible/os-reboot.playbook.yaml b/nodes/ansible/os-reboot.playbook.yaml deleted file mode 100644 index 557ef6b..0000000 --- a/nodes/ansible/os-reboot.playbook.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- name: Reboot system playbook - hosts: - - maintenance-node-target - become: true - tasks: - - ansible.builtin.import_tasks: - file: tasks/os-reboot.yaml - diff --git a/nodes/ansible/os-update.playbook.yaml b/nodes/ansible/os-update.playbook.yaml deleted file mode 100644 index 116b563..0000000 --- a/nodes/ansible/os-update.playbook.yaml +++ /dev/null @@ -1,8 +0,0 @@ -- name: OS update playbook - hosts: - - maintenance-node-target - become: true - tasks: - - ansible.builtin.import_tasks: - file: tasks/os-update.yaml -