add drm to variables from facts if undefined
This commit is contained in:
parent
8b885221ae
commit
d4cbb054bd
@ -2548,13 +2548,15 @@ preferred_refreshrates:
|
||||
- xorg is defined
|
||||
- drm is defined
|
||||
|
||||
- name: update xorg and xrandr variable with values from local facts if needed
|
||||
- name: update xorg, xrandr and drm variables with values from local facts if needed
|
||||
set_fact:
|
||||
xorg: '{{ ansible_local.xorg.xorg }}'
|
||||
xrandr: '{{ ansible_local.xrandr.xrandr }}'
|
||||
drm: '{{ ansible_local.drm.drm }}'
|
||||
when:
|
||||
- xrandr is undefined
|
||||
- xorg is undefined
|
||||
- drm is undefined
|
||||
|
||||
# TODO: expand template for xorg.conf (or snippets)
|
||||
# with respect for the available graphics card driver
|
||||
|
@ -139,13 +139,15 @@
|
||||
- xorg is defined
|
||||
- drm is defined
|
||||
|
||||
- name: update xorg and xrandr variable with values from local facts if needed
|
||||
- name: update xorg, xrandr and drm variables with values from local facts if needed
|
||||
set_fact:
|
||||
xorg: '{{ ansible_local.xorg.xorg }}'
|
||||
xrandr: '{{ ansible_local.xrandr.xrandr }}'
|
||||
drm: '{{ ansible_local.drm.drm }}'
|
||||
when:
|
||||
- xrandr is undefined
|
||||
- xorg is undefined
|
||||
- drm is undefined
|
||||
|
||||
# TODO: expand template for xorg.conf (or snippets)
|
||||
# with respect for the available graphics card driver
|
||||
|
Loading…
Reference in New Issue
Block a user