From 36f7d95194fa947247ac727b2237f52761b231d5 Mon Sep 17 00:00:00 2001
From: Laszlo Rafael <rlacko99@gmail.com>
Date: Sun, 21 Aug 2022 21:32:42 +0200
Subject: [PATCH] Fix missing ( in rolling restart

---
 ansible/k8s/tasks/upgrade_kernel.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/k8s/tasks/upgrade_kernel.yaml b/ansible/k8s/tasks/upgrade_kernel.yaml
index b370c7b..6804f55 100644
--- a/ansible/k8s/tasks/upgrade_kernel.yaml
+++ b/ansible/k8s/tasks/upgrade_kernel.yaml
@@ -21,4 +21,4 @@
   with_items: "{{ groups[rke2_cluster_group_name] }}"
   loop_control:
     loop_var: _host_item
-  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)
-- 
GitLab