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