Allow overriding preferred refresh rate, resolution and connection
for xrandr_facts module. You can set own preferences e.g. in a host_vars/localhost.yml using the variables preferred_refreshrates, preferred_resolutions and preferred_outputs (see roles/yavdr-xorg/default/main.yml for default values).
This commit is contained in:
@@ -86,7 +86,10 @@
|
||||
timeout: 3
|
||||
|
||||
- name: "detect xorg configuration"
|
||||
action: xrandr_facts
|
||||
xrandr_facts:
|
||||
preferred_refreshrates: '{{ preferred_refreshrates }}'
|
||||
preferred_resolutions: '{{ preferred_resolutions }}'
|
||||
preferred_outputs: '{{ preferred_outputs }}'
|
||||
|
||||
- debug:
|
||||
var: xorg.primary
|
||||
|
||||
Reference in New Issue
Block a user