Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issue #70 user/pass/token: make task names and block names match #73

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions roles/bmc_factory_reset/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- name: Factory reset BMC when username and password are defined
when: dpu_bmc_username is defined and dpu_bmc_password is defined
block:
- name: Reset DPU BMC to default factory settings
- name: Factory reset BMC when username and password are defined
community.general.redfish_command:
category: Manager
command: GracefulRestart
Expand All @@ -31,7 +31,7 @@
- name: Factory reset BMC when auth_token is defined
when: dpu_bmc_token is defined
block:
- name: Reset DPU BMC to default factory settings
- name: Factory reset BMC when auth_token is defined
community.general.redfish_command:
category: Manager
command: GracefulRestart
Expand Down
4 changes: 2 additions & 2 deletions roles/bmc_reboot/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- name: Reboot BMC when username and password are defined
when: dpu_bmc_username is defined and dpu_bmc_password is defined
block:
- name: Reboot BMC to apply new firmware of DPU
- name: Reboot BMC when username and password are defined
community.general.redfish_command:
category: Manager
command: GracefulRestart
Expand All @@ -35,7 +35,7 @@
- name: Reboot BMC when auth_token is defined
when: dpu_bmc_token is defined
block:
- name: Reboot BMC to apply new firmware of DPU
- name: Reboot BMC when auth_token is defined
community.general.redfish_command:
category: Manager
command: GracefulRestart
Expand Down
4 changes: 2 additions & 2 deletions roles/enable_secure_boot/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- name: Enable SecureBoot when username and password are defined
when: dpu_bmc_username is defined and dpu_bmc_password is defined
block:
- name: Enable SecureBoot
- name: Enable SecureBoot when username and password are defined
community.general.redfish_config:
category: Systems
command: EnableSecureBoot
Expand All @@ -31,7 +31,7 @@
- name: Enable SecureBoot when auth_token is defined
when: dpu_bmc_token is defined
block:
- name: Enable SecureBoot
- name: Enable SecureBoot when auth_token is defined
community.general.redfish_config:
category: Systems
command: EnableSecureBoot
Expand Down
4 changes: 2 additions & 2 deletions roles/get_bmc_facts/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- name: Get Firmware Inventory when username and password are defined
when: dpu_bmc_username is defined and dpu_bmc_password is defined
block:
- name: Get Firmware Inventory
- name: Get Firmware Inventory when username and password are defined
community.general.redfish_info:
category: Update
command: GetFirmwareInventory
Expand All @@ -37,7 +37,7 @@
- name: Get Firmware Inventory when auth_token is defined
when: dpu_bmc_token is defined
block:
- name: Get Firmware Inventory
- name: Get Firmware Inventory when auth_token is defined
community.general.redfish_info:
category: Update
command: GetFirmwareInventory
Expand Down
4 changes: 2 additions & 2 deletions roles/update_bmc_password/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- name: Update user password when username and password are defined
when: dpu_bmc_username is defined and dpu_bmc_password is defined
block:
- name: Update user password
- name: Update user password when username and password are defined
community.general.redfish_command:
category: Accounts
command: UpdateUserPassword
Expand All @@ -33,7 +33,7 @@
- name: Update user password when auth_token is defined
when: dpu_bmc_token is defined
block:
- name: Update user password
- name: Update user password when auth_token is defined
community.general.redfish_command:
category: Accounts
command: UpdateUserPassword
Expand Down
Loading