Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Added prompt for user to verify system clock on EL8000 firmwares.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmkraus committed Aug 13, 2020
1 parent 0f3d8b2 commit 47ff2a3
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions app/playbooks/firmware.d/el8000-sw2-ssd/apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,44 @@

- import_tasks: boot.yml

- name: set bios setup for next boot to check clock
shell: ilorest -c "{{ config.path }}" bootorder --onetimeboot=BiosSetup --commit
delegate_to: localhost

- name: ensure server is on
include_role:
name: management
defaults_from: main.yml
tasks_from: "poweron/{{ mgmt_provider }}.yml"
vars_from: "{{ mgmt_provider }}.yml"
handlers_from: "{{ mgmt_provider }}.yml"
vars:
management_hostname: "{{ mgmt_hostname }}"
management_user: "{{ username }}"
management_pass: "{{ password }}"

- name: wait for time to be configured
pause:
prompt: |
Your system is now booting into the BIOS configuration menu. Please
ensure that the system clock is set to the correct time. The system
clock setting is under:
System Configuration > BIOS/Platform Configuration (RBSU) > Date and Time.
The system's iLO address is: https://{{ mgmt_hostname }}
- name: ensure server is off
include_role:
name: management
defaults_from: main.yml
tasks_from: "poweroff/{{ mgmt_provider }}.yml"
vars_from: "{{ mgmt_provider }}.yml"
handlers_from: "{{ mgmt_provider }}.yml"
vars:
management_hostname: "{{ mgmt_hostname }}"
management_user: "{{ username }}"
management_pass: "{{ password }}"

- name: logout of ilo
shell: ilorest -c "{{ config.path }}" logout
changed_when: False
Expand Down

0 comments on commit 47ff2a3

Please sign in to comment.