Przeglądaj źródła

Removing trailing whitespace

Signed-off-by: Lucas A. Wilson <luke.wilson@dell.com>
Lucas A. Wilson 4 lat temu
rodzic
commit
ade8f1bc36

+ 8 - 8
slurm/roles/slurm-common/tasks/main.yml

@@ -1,4 +1,4 @@
-#  Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved. 
+#  Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved.
 #
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
 ---
 
 - name: install packages for slurm
-  yum: 
+  yum:
     name:
       - munge
       - mariadb
@@ -45,8 +45,8 @@
 
 
 - name: create SLURM Group
-  group: 
-    name: slurm 
+  group:
+    name: slurm
     state: present
   tags: install
 
@@ -69,7 +69,7 @@
   tags: install
 
 - name: give slurm user permission to spool
-  file: 
+  file:
     path: /var/spool/slurm
     owner: slurm
     group: slurm
@@ -78,7 +78,7 @@
     recurse: yes
 
 - name: give slurm user permission to slurmctld
-  file: 
+  file:
     path: /var/run/slurmctld.pid
     owner: slurm
     group: slurm
@@ -86,7 +86,7 @@
     state: touch
 
 - name: give slurm user permission to slurmd
-  file: 
+  file:
     path: /var/run/slurmd.pid
     owner: slurm
     group: slurm
@@ -95,7 +95,7 @@
 
 - name: start munge service
   service:
-    name: munge 
+    name: munge
     state: restarted
     enabled: yes
   tags: install

+ 9 - 9
slurm/roles/slurm-manager/tasks/main.yml

@@ -1,4 +1,4 @@
-#  Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved. 
+#  Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved.
 #
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -18,23 +18,23 @@
   get_url:
     url: "{{ slurm_url }}"
     dest: /root/Downloads/
-    checksum: "{{ slurm_md5 }}" 
+    checksum: "{{ slurm_md5 }}"
   tags: install
 
 - name: Build SLURM RPMs
-  command: rpmbuild -ta /root/Downloads/slurm-20.02.0.tar.bz2 
+  command: rpmbuild -ta /root/Downloads/slurm-20.02.0.tar.bz2
   tags: install
 
 - name: Copy RPMs to NFS share
   copy:
-    src: "{{ item }}" 
+    src: "{{ item }}"
     dest: /home/rpms/
   with_fileglob:
     - /root/rpmbuild/RPMS/x86_64/slurm*20*.rpm
   tags: install
 
 - name: Install SLURM RPMs on Manager
-  yum: 
+  yum:
     name: "{{ item }}"
     #name: "{{ query('fileglob', ['/home/rpms/slurm*20*.rpm']) }}" <-- how it should work to avoid loop
   with_fileglob:
@@ -62,7 +62,7 @@
   tags: install
 
 
-- name: Start MariaDB 
+- name: Start MariaDB
   service:
     name: mariadb
     state: restarted
@@ -92,19 +92,19 @@
   command: sacctmgr -i add account defaultgroup Cluster={{inventory_hostname}} Description="Default Account" Organization="Default Org"
   tags: install
 
-- name: Add root to the Default Account 
+- name: Add root to the Default Account
   command: sacctmgr -i add user root DefaultAccount=defaultgroup
   tags: install
 
 - name: Start slurmctld on Manager
-  service: 
+  service:
     name: slurmctld
     state: restarted
     enabled: yes
   tags: install
 
 - name: Enable Slurmdbd on Manager
-  service: 
+  service:
     name: slurmdbd
     state: restarted
     enabled: yes

+ 1 - 1
slurm/roles/start-slurm-workers/tasks/main.yml

@@ -1,4 +1,4 @@
-#  Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved. 
+#  Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved.
 #
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.

+ 2 - 2
slurm/slurm.yml

@@ -1,4 +1,4 @@
-#  Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved. 
+#  Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved.
 #
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 ---
-#Playbook for installing Slurm on a cluster 
+#Playbook for installing Slurm on a cluster
 
 #collect info from everything
 - hosts: all