Commit ac52b13e authored by Jean-Michel Elyn's avatar Jean-Michel Elyn
Browse files

graphics: Don't define xorg.conf when standard

parent 8a9f194a
Pipeline #3519196 passed with stage
in 14 seconds
......@@ -27,5 +27,3 @@ required_packages:
xorg-x11-server-Xorg: acc-sysadm
xdmcp_enabled: false
xorg_template: xorg_2mon.conf.j2
......@@ -6,15 +6,19 @@
# CONFIGURE X SERVER
- name: Get PCI port of screens
shell: lspci | awk '/VGA/ {sub("[.]", ":", $1); print $1}'
changed_when: false
register: r_graphical_pci_port
block:
- name: Configure X
template:
src: '{{ xorg_template }}'
dest: /etc/X11/xorg.conf
- name: Get PCI port of screens
shell: lspci | awk '/VGA/ {sub("[.]", ":", $1); print $1}'
changed_when: false
register: r_graphical_pci_port
- name: Configure X
template:
src: '{{ xorg_template }}'
dest: /etc/X11/xorg.conf
when: xorg_template is defined
# CONFIGURE LIGHTDM
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment