diff --git a/tasks/main.yml b/tasks/main.yml index c62dc9b..43f984f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -29,4 +29,4 @@ regexp="(^\-\:ALL\:ALL$)" line="-:ALL:ALL" insertafter="EOF"' - when: reg_slurm_access_conf|success and pam_enabled and pam_enable_slurm + when: reg_slurm_access_conf is success and pam_enabled and pam_enable_slurm