You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+39-57
Original file line number
Diff line number
Diff line change
@@ -27,79 +27,61 @@ The following PiKVM version(s) are currently unsupported and may not work with t
27
27
28
28
## Role Variables
29
29
30
-
`oled.enabled` By setting this value to **true**, it enables the physical OLED screen on the PiKVM device. By default this is set to **false** since not all PiKVM devices utilize an OLED screen.
30
+
`oled_enabled` By setting this value to **true**, it enables the physical OLED screen on the PiKVM device. By default this is set to **false** since not all PiKVM devices utilize an OLED screen.
31
31
32
-
`oled.rotate` By setting this value to **true**, the PiKVM OLED screen will be rotated. This is useful if the screen is the incorrect orientation from which you want displayed. For this setting to be applied, `oled.enabled` must be set to **true**. By default this value is set to **false**.
32
+
`oled_rotate` By setting this value to **true**, the PiKVM OLED screen will be rotated. This is useful if the screen is the incorrect orientation from which you want displayed. For this setting to be applied, `oled_enabled` must be set to **true**. By default this value is set to **false**.
33
33
34
-
`oled.fahrenheit` By setting this value to **true**, the PiKVM OLED screen will display temperature in Fahrenheit units instead of Celcius. For this setting to be applied, `oled.enabled` must be set to **true**. By default this value is set to **false**.
34
+
`oled_fahrenheit` By setting this value to **true**, the PiKVM OLED screen will display temperature in Fahrenheit units instead of Celcius. For this setting to be applied, `oled_enabled` must be set to **true**. By default this value is set to **false**.
35
35
36
-
`fan.enabled` By setting this value to **true**, the PiKVM will activate the FAN header pins allowing power to a physical fan. By default this is set to **true** since the PiKVM is recommended to have active cooling.
36
+
`fan_enabled` By setting this value to **true**, the PiKVM will activate the FAN header pins allowing power to a physical fan. By default this is set to **true** since the PiKVM is recommended to have active cooling.
37
37
38
-
`web_terminal.enabled` By setting this value to **true**, the PiKVM WebUI will enable terminal access. If set to false, no terminal actions can be performed from within the WebUI and must be performed by the root user using SSH. By default this is set to **true** to allow WebUI admin terminal access. ***Warning - All WebUI users have the same access rights. This means that any additional users besides the default admin account created for the WebUI will also have full access to the terminal.***
38
+
`web_terminal_enabled` By setting this value to **true**, the PiKVM WebUI will enable terminal access. If set to false, no terminal actions can be performed from within the WebUI and must be performed by the root user using SSH. By default this is set to **true** to allow WebUI admin terminal access. ***Warning - All WebUI users have the same access rights. This means that any additional users besides the default admin account created for the WebUI will also have full access to the terminal.***
39
39
40
40
`pikvm_os_update_output_logs` By setting this value to **true**, during execution of this role, the system update output will be displayed within the ansible logs. This can be useful to see what packages are updated during role execution. By default this is set to **true**.
41
41
42
-
`hdmi.edid.custom` If set, a custom HDMI EDID value will override the PiKVM default. By default, the EDID value will be set based on the PiKVM OS version.
42
+
`hdmi_edid` If set, a custom HDMI EDID value will override the PiKVM default. By default, the EDID value will be set based on the PiKVM OS version.
43
43
44
-
`hdmi.passthrough.enabled` This option is only available for PiKVM V4 Plus. By setting this value to **false**, the OUT2 port on the back side of the PiKVM V4 Plus will be disabled. By default this option is set to **true**. To enable this setting, `kvmd_override.enabled` must also be set to **true**.
44
+
`hdmi_passthrough_enabled` This option is only available for PiKVM V4 Plus. By setting this value to **false**, the OUT2 port on the back side of the PiKVM V4 Plus will be disabled. By default this option is set to **true**. To enable this setting, `kvmd_override_enabled` must also be set to **true**.
45
45
46
-
`validate.validators.system` By setting this value to **true**, this role will validate the PiKVM required files and system packages before configuring anything. When using an official PiKVM OS provided by PiKVM, this should pass without issue, however, by setting this value to **true**, it ensures that any custom OS is able to be properly configured. By default this is set to **true**.
46
+
`mouse_jiggler_enabled` By setting this value to **true**, the virtual mouse jiggler will be available for use within the WebUI. By default this value is set to **false**. This setting does not turn ON the mouse jiggler, instead, it allows the user to activate it manually. To enable this setting, `kvmd_override_enabled` must also be set to **true**.
47
47
48
-
`validate.validators.prometheus` By default PiKVM allows Prometheus scraping by exposing metrics on the `/api/export/prometheus/metrics` endpoint. By setting this value to **true**, this role will validate that the metrics endpoint is available and correctly configured. By default this is set to **true**.
48
+
`mouse_jiggler_on_after_reboot` By setting this value to **true**, the virtual mouse jiggler will become active after reboot. By default this value is set to **false**. This setting turns ON the mouse jiggler by default after reboot. If you wish to have manual control over the activation of this setting after reboot, do not set this value to true. `mouse_jiggler_enabled` must be set to **true** for this setting to be applied. To enable this setting, `kvmd_override_enabled` must also be set to **true**.
49
49
50
-
`validate.fail_on_validate` By setting this value to **true**, any validators that fail will stop the role from continuing execution. This is helpful to prevent unknown issues from occuring during role execution if a validator fails. By default this is set to **true**.
50
+
`kvmd_override_enabled` By setting this value to **true**, the current override file within /etc/kvmd/override.yaml will be overwritten to match this roles config. By default this value is set to **false**.
51
51
52
-
`hid.mouse.jiggler.enabled` By setting this value to **true**, the virtual mouse jiggler will be available for use within the WebUI. By default this value is set to **false**. This setting does not turn ON the mouse jiggler, instead, it allows the user to activate it manually. To enable this setting, `kvmd_override.enabled` must also be set to **true**.
53
-
54
-
`hid.mouse.jiggler.on_after_reboot` By setting this value to **true**, the virtual mouse jiggler will become active after reboot. By default this value is set to **false**. This setting turns ON the mouse jiggler by default after reboot. If you wish to have manual control over the activation of this setting after reboot, do not set this value to true. `hid.mouse.jiggler.enabled` must be set to **true** for this setting to be applied. To enable this setting, `kvmd_override.enabled` must also be set to **true**.
55
-
56
-
`kvmd_override.enabled` By setting this value to **true**, the current override file within /etc/kvmd/override.yaml will be overwritten to match this roles config. By default this value is set to **false**.
52
+
`serial_over_usb_enabled` By setting this value to **true**, the PiKVM will be configured to allow serial connections over USB. This can be used for terminal access from the managed server to the PiKVM, or for any other purpose that requires a serial connection. This is only available for PiKVM V2+.
57
53
58
54
### Example Variable Usage
59
55
60
56
```yaml
61
-
oled:
62
-
enabled: true
63
-
rotate: false
64
-
fahrenheit: false
65
-
fan:
66
-
enabled: true
67
-
web_terminal:
68
-
enabled: false
57
+
oled_enabled: true
58
+
oled_rotate: false
59
+
oled_fahrenheit: false
60
+
fan_enabled: true
61
+
web_terminal_enabled: false
69
62
pikvm_os_update_output_logs: true
70
-
hdmi:
71
-
edid:
72
-
custom: |
73
-
00FFFFFFFFFFFF005262888800888888
74
-
1C150103800000780AEE91A3544C9926
75
-
0F505425400001000100010001000100
76
-
010001010101D32C80A070381A403020
77
-
350040442100001E7E1D00A050001940
78
-
3020370080001000001E000000FC0050
79
-
492D4B564D20566964656F0A000000FD
80
-
00323D0F2E0F000000000000000001C4
81
-
02030400DE0D20A03058122030203400
82
-
F0B400000018E01500A0400016303020
83
-
3400000000000018B41400A050D01120
84
-
3020350080D810000018AB22A0A05084
85
-
1A3030203600B00E1100001800000000
86
-
00000000000000000000000000000000
87
-
00000000000000000000000000000000
88
-
00000000000000000000000000000045
89
-
passthrough:
90
-
enabled: false
91
-
validate:
92
-
validators:
93
-
system: true
94
-
prometheus: true
95
-
fail_on_validate: false
96
-
hid:
97
-
mouse:
98
-
jiggler:
99
-
enabled: true
100
-
on_after_reboot: true
101
-
kvmd_override:
102
-
enabled: true
63
+
hdmi_edid: |
64
+
00FFFFFFFFFFFF005262888800888888
65
+
1C150103800000780AEE91A3544C9926
66
+
0F505425400001000100010001000100
67
+
010001010101D32C80A070381A403020
68
+
350040442100001E7E1D00A050001940
69
+
3020370080001000001E000000FC0050
70
+
492D4B564D20566964656F0A000000FD
71
+
00323D0F2E0F000000000000000001C4
72
+
02030400DE0D20A03058122030203400
73
+
F0B400000018E01500A0400016303020
74
+
3400000000000018B41400A050D01120
75
+
3020350080D810000018AB22A0A05084
76
+
1A3030203600B00E1100001800000000
77
+
00000000000000000000000000000000
78
+
00000000000000000000000000000000
79
+
00000000000000000000000000000045
80
+
hdmi_passthrough_enabled: false
81
+
mouse_jiggler_enabled: true
82
+
mouse_jiggler_on_after_reboot: false
83
+
kvmd_override_enabled: true
84
+
serial_over_usb_enabled: false
103
85
```
104
86
105
87
## Example Playbook
@@ -139,7 +121,7 @@ This role will update system packages if available to the most recent version. T
139
121
140
122
This role will cause the PiKVM to reboot if required. This action cannot currently be disabled.
141
123
142
-
If `kvmd_override.enabled` is set to **true**, the current /etc/kvmd/override.yaml file will be overwritten and cannot be recovered. Please ensure that you have a backup of the current override.yaml file.
124
+
If `kvmd_override_enabled` is set to **true**, the current /etc/kvmd/override.yaml file will be overwritten and cannot be recovered. Please ensure that you have a backup of the current override.yaml file.
143
125
144
126
**Warning**: By using this role, you acknowledge that it may impact any existing installations or configurations on your PiKVM device. This role and its contributors are not responsible for any data loss, configuration changes, or other issues that may arise. Use at your own risk and ensure you have appropriate backups and safeguards in place before running this role on a production device.
0 commit comments