-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added roles idrac_firmware, redfish_firmware, redfish_storage_volume enhanced modules ome_template and redfish_firmware to track the jobs
- Loading branch information
1 parent
3c0ca39
commit 2abe8ac
Showing
110 changed files
with
3,938 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ __pycache__/ | |
.idea/ | ||
*.bak | ||
rstdocgen.sh | ||
node_modules | ||
demo | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Roles Playbooks | ||
|
||
### Using the Example playbooks | ||
|
||
1. Update the inventory | ||
Update the idrac IP's, hostnames in the `inventory` file. | ||
|
||
1. Update the varaibles required for a role under `vars_files` folder. | ||
|
||
1. Run the following command to run the role | ||
`ansible-playbook <role_folder>/<role_file>.yml -i inventory | ||
|
||
### Folder Tree | ||
|
||
``` | ||
. | ||
├── idrac_certificate | ||
│ └── idrac_certificate.yml | ||
├── idrac_export_server_config_profile | ||
│ └── idrac_export_server_config_profile.yml | ||
├── idrac_firmware | ||
│ └── idrac_firmware.yml | ||
├── idrac_gather_facts | ||
│ └── idrac_gather_facts.yml | ||
├── idrac_import_server_config_profile | ||
│ └── idrac_import_server_config_profile.yml | ||
├── idrac_os_deployment | ||
│ └── idrac_os_deployment.yml | ||
├── idrac_server_powerstate | ||
│ └── idrac_server_powerstate.yml | ||
├── inventory | ||
├── README.md | ||
├── redfish_firmware | ||
│ └── redfish_firmware.yml | ||
├── redfish_storage_volume | ||
│ └── redfish_storage_volume.yml | ||
└── vars_files | ||
├── certificates.yml | ||
├── credentials.yml | ||
├── export.yml | ||
├── firmware.yml | ||
├── import.yml | ||
├── osd.yml | ||
└── storage.yml | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- name: Manage certificates in iDRAC | ||
hosts: idrac | ||
gather_facts: false | ||
vars_files: | ||
- ../vars_files/credentials.yml | ||
- ../vars_files/certificates.yml | ||
roles: | ||
- dellemc.openmanage.idrac_certificate |
9 changes: 9 additions & 0 deletions
9
playbooks/roles/idrac_export_server_config_profile/idrac_export_server_config_profile.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- name: Export Server configuration profile | ||
hosts: idrac | ||
gather_facts: false | ||
vars_files: | ||
- ../vars_files/credentials.yml | ||
- ../vars_files/export.yml | ||
roles: | ||
- dellemc.openmanage.idrac_export_server_config_profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
- name: Firmware update using catalog for iDRAC | ||
hosts: idrac | ||
gather_facts: false | ||
vars_files: | ||
- ../vars_files/credentials.yml | ||
- ../vars_files/firmware.yml | ||
vars: | ||
hostname: "{{ inventory_hostname }}" | ||
roles: | ||
- dellemc.openmanage.idrac_firmware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
- name: Get iDRAC information | ||
hosts: idrac | ||
gather_facts: false | ||
vars_files: | ||
- ../vars_files/credentials.yml | ||
vars: | ||
target: "System" | ||
roles: | ||
- dellemc.openmanage.idrac_server_powerstate |
9 changes: 9 additions & 0 deletions
9
playbooks/roles/idrac_import_server_config_profile/idrac_import_server_config_profile.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- name: Import Server configuration profile | ||
hosts: idrac | ||
gather_facts: false | ||
vars_files: | ||
- ../vars_files/credentials.yml | ||
- ../vars_files/import.yml | ||
roles: | ||
- dellemc.openmanage.idrac_import_server_config_profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- name: Operating System Deployment in iDRAC | ||
hosts: idrac | ||
gather_facts: false | ||
vars_files: | ||
- ../vars_files/credentials.yml | ||
- ../vars_files/osd.yml | ||
roles: | ||
- dellemc.openmanage.idrac_os_deployment |
10 changes: 10 additions & 0 deletions
10
playbooks/roles/idrac_server_powerstate/idrac_server_powerstate.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
- name: Manage iDRAC server power cycle | ||
hosts: idrac | ||
gather_facts: false | ||
vars_files: | ||
- ../vars_files/credentials.yml | ||
vars: | ||
reset_type: "On" | ||
roles: | ||
- dellemc.openmanage.idrac_server_powerstate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[idrac] | ||
192.168.0.1 | ||
192.168.0.2 | ||
192.168.0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- name: Firmware update using DUP file | ||
hosts: idrac | ||
gather_facts: false | ||
vars_files: | ||
- ../vars_files/credentials.yml | ||
- ../vars_files/firmware.yml | ||
roles: | ||
- dellemc.openmanage.redfish_firmware |
9 changes: 9 additions & 0 deletions
9
playbooks/roles/redfish_storage_volume/redfish_storage_volume.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
- name: Redfish Storage volume Configurations | ||
hosts: idrac | ||
gather_facts: false | ||
vars_files: | ||
- ../vars_files/credentials.yml | ||
- ../vars_files/storage.yml | ||
roles: | ||
- dellemc.openmanage.redfish_storage_volume |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
command: "generate_csr" | ||
certificate_type: "HTTPS" | ||
certificate_path: "/home/omam/mycerts" | ||
cert_params: | ||
common_name: "sample.domain.com" | ||
organization_unit: "OrgUnit" | ||
locality_name: "Bangalore" | ||
state_name: "Karnataka" | ||
country_code: "IN" | ||
email_address: "admin@domain.com" | ||
organization_name: "OrgName" | ||
subject_alt_name: | ||
- 192.168.0.3 |
Oops, something went wrong.