From 9bdd8691d1452fc3d175b6d5b46bc5f2c8b76613 Mon Sep 17 00:00:00 2001 From: ville-r-lut Date: Tue, 25 Aug 2020 17:05:51 +0300 Subject: [PATCH] x11 spank plugin is not correctly turned off if spank plugin support is still on --- tasks/common.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/common.yml b/tasks/common.yml index dcb699a..62fbc22 100644 --- a/tasks/common.yml +++ b/tasks/common.yml @@ -102,7 +102,7 @@ file: path: /etc/slurm/plugstack.conf.d/x11.conf state: absent - when: slurm_plugstack|bool == false and slurm_x11_spank|bool == false + when: slurm_plugstack|bool == false or slurm_x11_spank|bool == false - name: install slurm-spank-x11 and xauth package: name={{ slurm_spank_x11_packages }} state=present