It's a display **server**, you dummy

This commit is contained in:
Geoffrey Frogeye 2021-06-18 21:53:42 +02:00
parent c9657f69d4
commit fd580acf2c
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
13 changed files with 22 additions and 22 deletions

View file

@ -111,7 +111,7 @@
stat:
path: /etc/X11/nvidia-xorg.conf
register: nvidia_xrun
when: display_manager == 'x11'
when: display_server == 'x11'
- name: Add nvidia-xrun xorg config directory
set_fact:
@ -120,14 +120,14 @@
xorg_default_config_dirs:
- /etc/X11/xorg.conf.d
xorg_nvidia_config_dirs: "{{ ['/etc/X11/nvidia-xorg.conf.d'] if nvidia_xrun.stat.exists else [] }}"
when: display_manager == 'x11'
when: display_server == 'x11'
- name: Configure Xorg keyboard layout
copy:
src: xorg/keyboard.conf
dest: "{{ item }}/00-keyboard.conf"
become: yes
when: display_manager == 'x11'
when: display_server == 'x11'
notify: etc changed
loop: "{{ xorg_common_config_dirs }}"
@ -135,7 +135,7 @@
stat:
path: /sys/class/backlight/intel_backlight
register: intel_backlight
when: display_manager == 'x11'
when: display_server == 'x11'
- name: Install Intel video drivers (Arch based)
pacman:
@ -143,14 +143,14 @@
# state: "{{ intel_backlight.stat.exists }}"
state: present
become: yes
when: display_manager == 'x11' and intel_backlight.stat.exists and arch_based
when: display_server == 'x11' and intel_backlight.stat.exists and arch_based
- name: Configure Xorg Intel backlight
copy:
src: xorg/intel_backlight.conf
dest: "{{ item }}/20-intel_backlight.conf"
become: yes
when: display_manager == 'x11' and intel_backlight.stat.exists
when: display_server == 'x11' and intel_backlight.stat.exists
notify: etc changed
loop: "{{ xorg_common_config_dirs }}"
@ -159,7 +159,7 @@
src: xorg/touchpad.conf
dest: "{{ item }}/30-touchpad.conf"
become: yes
when: display_manager == 'x11'
when: display_server == 'x11'
notify: etc changed
loop: "{{ xorg_common_config_dirs }}"
@ -168,7 +168,7 @@
src: xorg/joystick.conf
dest: "{{ item }}/50-joystick.conf"
become: yes
when: display_manager == 'x11'
when: display_server == 'x11'
notify: etc changed
loop: "{{ xorg_common_config_dirs }}"