diff --git a/roles/slurm-common/tasks/installSlurmFromSource.yml b/roles/slurm-common/tasks/installSlurmFromSource.yml
index 071d0b8b76bf55ef4ad26f1a15dae7a96d13005b..692e12f76b865567c2e37602064e647a81562951 100644
--- a/roles/slurm-common/tasks/installSlurmFromSource.yml
+++ b/roles/slurm-common/tasks/installSlurmFromSource.yml
@@ -9,8 +9,8 @@
   file:
     path: "{{ slurm_dir }}"
     state: absent
-    become: true 
-    when: force_slurm_recompile is defined
+  become: true 
+  when: force_slurm_recompile is defined
 
 - name: unarchive slurm
   unarchive: