# Copyright 2021 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. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. --- - name: Update firmware (This task will take time based on current firmware version) dellemc.openmanage.idrac_firmware: idrac_ip: "{{ inventory_hostname }}" idrac_user: "{{ idrac_username }}" idrac_password: "{{ idrac_password }}" share_name: "{{ management_station_ip }}:{{ nfs_share_offline_repo }}/dellupdates" reboot: True job_wait: True apply_update: True catalog_file_name: "Catalog.xml" register: update_firmware - name: Wait for one minute to complete firmware update wait_for: timeout: 60 run_once: true - name: Wait for iDRAC port to become active wait_for: host: "{{ inventory_hostname }}" port: "{{ idrac_port }}" state: started