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:
Alexander Grothe
2018-05-10 22:04:45 +02:00
parent d68cbc252a
commit 65dc2b4fd7
4 changed files with 525 additions and 470 deletions

View File

@@ -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