Parcourir la source

Update main.yml

Signed-off-by: abhishek-sa1 <abhishek.sa3@dell.com>
abhishek-sa1 il y a 3 ans
Parent
commit
e05120c7c7
1 fichiers modifiés avec 8 ajouts et 11 suppressions
  1. 8 11
      control_plane/roles/control_plane_repo/tasks/main.yml

+ 8 - 11
control_plane/roles/control_plane_repo/tasks/main.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");
 #  you may not use this file except in compliance with the License.
@@ -13,16 +13,13 @@
 #  limitations under the License.
 ---
 
-- name: Include common variables
-  include_vars:  ../../control_plane_common/vars/main.yml
+- block:
+    - name: Include common variables
+      include_vars:  ../../control_plane_common/vars/main.yml
 
-- name: Validate idrac_vars
-  include_tasks: validate_idrac_vars.yml
+    - name: Install DSU
+      include_tasks: install_dsu.yml
 
-- name: Install DSU
-  include_tasks: install_dsu.yml
+    - name: Download iDRAC firmware updates
+      include_tasks: download_fmw_updates.yml
   when: firmware_update_required
-
-- name: Download iDRAC firmware updates
-  include_tasks: download_fmw_updates.yml
-  when: firmware_update_required