From 95bd278ba1bd66292dd83339b7f674becbf65086 Mon Sep 17 00:00:00 2001 From: Otabek Ismoilov <107093598+ismoilovdevml@users.noreply.github.com> Date: Sat, 7 Sep 2024 21:38:20 +0500 Subject: [PATCH] fix: Correct conditional check for PSA config in add-pod-security-admission task --- roles/rke2_server/tasks/add-pod-security-admission-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/rke2_server/tasks/add-pod-security-admission-config.yml b/roles/rke2_server/tasks/add-pod-security-admission-config.yml index 4b7a193..e80f699 100644 --- a/roles/rke2_server/tasks/add-pod-security-admission-config.yml +++ b/roles/rke2_server/tasks/add-pod-security-admission-config.yml @@ -35,7 +35,7 @@ state: present check_mode: yes register: ansible_managed_check - when: stat_result.stat.exists | bool is true + when: stat_result.stat.exists | bool - name: Remove the PSA config file if exists and has ansible managed comments ansible.builtin.file: