| 1 | --- |
| 2 | argument_specs: |
| 3 | main: |
| 4 | version_added: "9.0.0" |
| 5 | short_description: Role to manage local users for iDRAC. |
| 6 | description: |
| 7 | - Role to manage manage local users for iDRACs |
| 8 | (iDRAC8 and iDRAC9 only) for Dell PowerEdge servers. |
| 9 | options: |
| 10 | hostname: |
| 11 | required: true |
| 12 | type: str |
| 13 | description: IPv4, IPv6 Address or hostname of the iDRAC. |
| 14 | username: |
| 15 | type: str |
| 16 | description: iDRAC username with 'Administrator' privilege. |
| 17 | password: |
| 18 | type: str |
| 19 | description: iDRAC user password. |
| 20 | https_port: |
| 21 | type: int |
| 22 | description: iDRAC port. |
| 23 | default: 443 |
| 24 | validate_certs: |
| 25 | description: |
| 26 | - If C(false), the SSL certificates will not be validated. |
| 27 | - Configure C(false) only on personally controlled sites |
| 28 | where self-signed certificates are used. |
| 29 | type: bool |
| 30 | default: true |
| 31 | ca_path: |
| 32 | description: |
| 33 | - The Privacy Enhanced Mail (PEM) file that contains a CA |
| 34 | certificate to be used for the validation. |
| 35 | type: path |
| 36 | https_timeout: |
| 37 | description: The HTTPS socket level timeout in seconds. |
| 38 | type: int |
| 39 | default: 30 |
| 40 | state: |
| 41 | description: |
| 42 | - Select C(present) to create or modify a user account. |
| 43 | - Select C(absent) to remove a user account. |
| 44 | type: str |
| 45 | default: present |
| 46 | choices: |
| 47 | [ |
| 48 | "present", |
| 49 | "absent" |
| 50 | ] |
| 51 | user_name: |
| 52 | description: Provide username of the iDRAC user account that |
| 53 | is created, deleted, or modified. |
| 54 | type: str |
| 55 | required: true |
| 56 | user_password: |
| 57 | description: |
| 58 | - Password for the iDRAC user account that is created, |
| 59 | or modified. The password can be changed when the user |
| 60 | account is modified. |
| 61 | - To ensure security, the I(user_password) must be at least eight |
| 62 | characters long and must contain lowercase and upper-case |
| 63 | characters, numbers, and special characters. |
| 64 | type: str |
| 65 | new_user_name: |
| 66 | description: Provide the I(user_name) for the iDRAC user |
| 67 | account that is modified. |
| 68 | type: str |
| 69 | privilege: |
| 70 | description: |
| 71 | - Following are the role-based privileges. |
| 72 | - A user with C(Administrator) privilege can log in to iDRAC, |
| 73 | and then configure iDRAC, configure users, clear logs, control |
| 74 | and configure system, access virtual console, access virtual |
| 75 | media, test alerts, and execute debug commands. |
| 76 | - A user with C(Operator) privilege can log in to iDRAC, and then |
| 77 | configure iDRAC, control and configure system, access virtual |
| 78 | console, access virtual media, and execute debug commands. |
| 79 | - A user with C(ReadOnly) privilege can only log in to iDRAC. |
| 80 | - A user with C(None), no privileges assigned. It is |
| 81 | not applicable for iDRAC10. |
| 82 | - Will be ignored, if I(custom_privilege) parameter is provided. |
| 83 | type: str |
| 84 | choices: |
| 85 | [ |
| 86 | "Administrator", |
| 87 | "ReadOnly", |
| 88 | "Operator", |
| 89 | "None" |
| 90 | ] |
| 91 | custom_privilege: |
| 92 | description: |
| 93 | - Provide the custom role-based authority privileges allowed |
| 94 | for the user . |
| 95 | - To create a custom privilege, add up the privilege decimal |
| 96 | values as defined below. |
| 97 | Login - 1 |
| 98 | Configure - 2 |
| 99 | Configure Users - 4 |
| 100 | Logs - 8 |
| 101 | System Control - 16 |
| 102 | Access Virtual Console - 32 |
| 103 | Access Virtual Media - 64 |
| 104 | System Operations - 128 |
| 105 | Debug - 256 |
| 106 | - The value has to be in the range 0-511. |
| 107 | - Minimum value is 1 for iDRAC10. |
| 108 | type: int |
| 109 | ipmi_lan_privilege: |
| 110 | description: The Intelligent Platform Management |
| 111 | Interface LAN privilege level assigned to the user. |
| 112 | type: str |
| 113 | choices: |
| 114 | [ |
| 115 | "Administrator", |
| 116 | "Operator", |
| 117 | "User", |
| 118 | "No Access" |
| 119 | ] |
| 120 | ipmi_serial_privilege: |
| 121 | description: |
| 122 | - The Intelligent Platform Management Interface Serial Port |
| 123 | privilege level assigned to the user. |
| 124 | - This option is only applicable for rack and tower servers. |
| 125 | type: str |
| 126 | choices: |
| 127 | [ |
| 128 | "Administrator", |
| 129 | "Operator", |
| 130 | "User", |
| 131 | "No Access" |
| 132 | ] |
| 133 | enable: |
| 134 | description: Provide the option to enable or disable a user |
| 135 | from logging in to iDRAC. |
| 136 | type: bool |
| 137 | sol_enable: |
| 138 | description: Enables Serial Over Lan (SOL) for an iDRAC user. |
| 139 | type: bool |
| 140 | protocol_enable: |
| 141 | description: Enables SNMPv3 protocol for the iDRAC user. |
| 142 | type: bool |
| 143 | authentication_protocol: |
| 144 | description: |
| 145 | - This option allows to configure one of the following |
| 146 | authentication protocol types to authenticate the iDRAC user. |
| 147 | - Secure Hash Algorithm C(SHA). Not applicable for iDRAC10. |
| 148 | - Message Digest 5 C(MD5). Not applicable for iDRAC10. |
| 149 | - Secure Hash Algorithm 384-bit C(SHA-384). Only applicable for |
| 150 | iDRAC10. |
| 151 | - Secure Hash Algorithm 512-bit C(SHA-512). Only applicable for |
| 152 | iDRAC10. |
| 153 | - If C(None) is selected, then the authentication protocol |
| 154 | is not configured. |
| 155 | type: str |
| 156 | choices: |
| 157 | [ |
| 158 | "None", |
| 159 | "SHA", |
| 160 | "MD5", |
| 161 | "SHA-384", |
| 162 | "SHA-512" |
| 163 | ] |
| 164 | privacy_protocol: |
| 165 | description: |
| 166 | - This option allows to configure one of the following |
| 167 | privacy encryption protocols for the iDRAC user. |
| 168 | - Data Encryption Standard C(DES). Not applicable for iDRAC10. |
| 169 | - Advanced Encryption Standard C(AES). Not applicable for iDRAC10. |
| 170 | - Advanced Encryption Standard 256-bit C(AES-256). Only applicable |
| 171 | for iDRAC9 and iDRAC10. |
| 172 | - If C(None) is selected, then the privacy protocol = |
| 173 | is not configured. |
| 174 | type: str |
| 175 | choices: |
| 176 | [ |
| 177 | "None", |
| 178 | "DES", |
| 179 | "AES", |
| 180 | "AES-256" |
| 181 | ] |