diff --git a/ansible/k8s/tasks/upgrade_kernel.yaml b/ansible/k8s/tasks/upgrade_kernel.yaml index 2ef1ce77ebc3f494b9dff8f11b7ae8819b3432b0..b370c7b7b0c7b61e601f583d77d8eafd5e5624ac 100644 --- a/ansible/k8s/tasks/upgrade_kernel.yaml +++ b/ansible/k8s/tasks/upgrade_kernel.yaml @@ -21,5 +21,4 @@ with_items: "{{ groups[rke2_cluster_group_name] }}" loop_control: loop_var: _host_item - when: hostvars[_host_item].inventory_hostname == inventory_hostname - # when: (hostvars[_host_item].inventory_hostname == inventory_hostname ) and reboot_required_file.stat.exists) + when: (hostvars[_host_item].inventory_hostname == inventory_hostname ) and reboot_required_file.stat.exists)