Browse Source

Merge pull request #966 from abhishek-sa1/omnia_security

slurm_restd not installing in leap
Sujit Jadhav 3 năm trước cách đây
mục cha
commit
6b5c957806
1 tập tin đã thay đổi với 9 bổ sung6 xóa
  1. 9 6
      roles/slurm_restd/tasks/main.yml

+ 9 - 6
roles/slurm_restd/tasks/main.yml

@@ -13,11 +13,14 @@
 #  limitations under the License.
 ---
 
-- name: Install jansson
-  include_tasks: install_jansson.yml
+- name: Execute slurm restd on rocky
+  block:
+    - name: Install jansson
+      include_tasks: install_jansson.yml
 
-- name: Install libjwt
-  include_tasks: install_libjwt.yml
+    - name: Install libjwt
+      include_tasks: install_libjwt.yml
 
-- name: Generate Token
-  include_tasks: generate_token.yml
+    - name: Generate Token
+      include_tasks: generate_token.yml
+  when: os_supported_leap not in compute_os