Quellcode durchsuchen

Issue #683: Updated deploy_os.yml

Signed-off-by: abhishek-sa1 <abhishek.sa3@dell.com>
abhishek-sa1 vor 3 Jahren
Ursprung
Commit
fb2d9b7461
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 6 1
      control_plane/roles/provision_idrac/tasks/deploy_os.yml

+ 6 - 1
control_plane/roles/provision_idrac/tasks/deploy_os.yml

@@ -1,4 +1,4 @@
-# Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
+# Copyright 2022 Dell Inc. or its subsidiaries. All Rights Reserved.
 #
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # you may not use this file except in compliance with the License.
@@ -44,6 +44,11 @@
         unattended_iso_filename: "{{ rocky_iso_filename }}"
         unattended_iso_filename: "{{ rocky_iso_filename }}"
       when: provision_os == os_supported_rocky
       when: provision_os == os_supported_rocky
 
 
+    - name: Set unattended_iso_filename - leap
+      set_fact:
+        unattended_iso_filename: "{{ leap_iso_filename }}"
+      when: provision_os == os_supported_leap
+
     - name: Install OS using iDRAC
     - name: Install OS using iDRAC
       dellemc.openmanage.idrac_os_deployment:
       dellemc.openmanage.idrac_os_deployment:
         idrac_ip: "{{ inventory_hostname }}"
         idrac_ip: "{{ inventory_hostname }}"