-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.spec
118 lines (116 loc) · 4.63 KB
/
plugin.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
plugin_type: other
entry_point: main.yaml
subparsers:
dellemc-idrac:
description: Manage Dell EMC iDRACs
include_groups: ['Ansible options', 'Common options', 'Answers file']
groups:
- title: iDRAC configuration
options:
hosts-pattern:
type: Value
help: |
Ansible hosts pattern.
User must ensure that a valide workspace inventory is present.
Example:
'dell-idrac1.example.com,dell-idrac2.example.com'
required: True
ansible_variable: 'hosts_pattern'
validate-ssl-certs:
type: Flag
help: 'Validate SSL certificates.'
required: False
ansible_variable: 'validate_ssl_certs'
task-retries:
type: int
help: |
Amount of retries attempted in tasks.
Example:
50
required: False
default: 50
ansible_variable: task_retries
timeout:
type: int
help: |
Timeout in seconds for URL requests to OOB(out of band) controller.
required: False
default: 30
ansible_variable: idrac_timeout
- title: iDRAC Query
options:
query:
type: Flag
help: |
iDRAC query flag.
required: False
ansible_variable: 'idrac_query'
- title: iDRAC Bios Configuration
options:
boot-mode:
type: Value
help: |
iDRAC server boot mode.
Example:
Bios
required: False
choices:
- Bios
- Uefi
ansible_variable: 'boot_mode'
bios-attributes:
type: KeyValueList
help: |
iDRAC bios attributes.
Provided in a dictionary format.
Example:
LogicalProc:Enabled,Test:Enabled
required: False
ansible_variable: 'bios_attributes'
boot-order:
type: Value
help: |
Set iDRAC boot order.
You can locate the correct naming using Redfish API,
or using --query and look for 'boot_order['entries'] key.
NOTE: If your iDRAC returns empty 'boot_order', attempt to upgrade iDRAC
Lifecycle Controller Frimware.
Example:
- NIC.Integrated.1-3-1
- NIC.Integrated.1-1-1
- HardDisk.List.1-1
required: False
ansible_variable: 'boot_order'
delete-previous-jobs:
type: Flag
help: |
Remove previously completed jobs from iDRAC job inventory.
required: False
ansible_variable: 'delete_previous_idrac_jobs'
skip-clear-pending:
type: Flag
help: |
Skips clearing pending BIOS attributes.
required: false
ansible_variable: 'skip_clear_pending'
- title: iDRAC power management
options:
racreset:
type: Flag
help: |
Performs 'GracefulRestart' on iDRAC controller.
required: False
ansible_variable: 'racreset'
power-action:
type: Value
help: 'Execute power action on iDRAC host.'
required: False
choices:
- 'PowerOn'
- 'PowerForceOff'
- 'PowerForceRestart'
- 'PowerGracefulRestart'
- 'PowerGracefulShutdown'
- 'PowerReboot'
- 'SetOneTimeBoot'
ansible_variable: 'power_action'