--- - name: install xorg and X11 packages ansible.builtin.package: name: - xf86-input-synaptics - xorg-apps - xorg-server - xorg-xinit - xorg-xwayland - xsecurelock state: present when: ansible_distribution in ["Archlinux"] - name: create Xorg configuration subdirectory ansible.builtin.file: path: "{{ xorg_configuration_dir }}" owner: 0 group: 0 mode: "0644" state: directory - name: copy xorg configuration ansible.builtin.copy: src: intel.conf dest: "{{ xorg_configuration_dir }}/" mode: "0644" owner: 0 group: 0