From f6fcd2500795a589b6c3f62f4171cda4dd793fc4 Mon Sep 17 00:00:00 2001
From: handreas <andreas.hamacher@monash.edu>
Date: Thu, 30 Jan 2020 08:59:41 +0000
Subject: [PATCH] syntax fixes for slurm-common

Former-commit-id: fb21e1255729c639c543d7c30265ceaa5c1d4edc
---
 roles/slurm-common/tasks/installSlurmFromSource.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/roles/slurm-common/tasks/installSlurmFromSource.yml b/roles/slurm-common/tasks/installSlurmFromSource.yml
index d8dc92c4..9d1a326c 100644
--- a/roles/slurm-common/tasks/installSlurmFromSource.yml
+++ b/roles/slurm-common/tasks/installSlurmFromSource.yml
@@ -101,16 +101,16 @@
   file:
     path: /opt/slurm-latest
     state: absent
-    become: true
-    when: force_slurm_recompile is defined or not stat_srun.stat.exists
+  become: true
+  when: force_slurm_recompile is defined or not stat_srun.stat.exists
 
 - name: put slurm-latest-link
   file:
     src: "{{ slurm_dir }}"
     dest: /opt/slurm-latest
     state: link
-    become: true
-    when: force_slurm_recompile is defined or not stat_srun.stat.exists
+  become: true
+  when: force_slurm_recompile is defined or not stat_srun.stat.exists
 
 - name: add slurm log rotate config
   template: src=slurmlog.j2 dest=/etc/logrotate.d/slurm mode=644
-- 
GitLab