Move Xorg config into qemu-guest.yml
This commit is contained in:
parent
24c099402a
commit
e4b233515b
2 changed files with 5 additions and 12 deletions
|
@ -19,6 +19,11 @@
|
||||||
# utouch-kmod and xf86-input-evdev are needed for mouse in QEMU/KVM.
|
# utouch-kmod and xf86-input-evdev are needed for mouse in QEMU/KVM.
|
||||||
name: utouch-kmod,xf86-input-evdev
|
name: utouch-kmod,xf86-input-evdev
|
||||||
state: present
|
state: present
|
||||||
|
- name: Set xorg screen
|
||||||
|
become: true
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: screen-qemu.conf
|
||||||
|
dest: /usr/local/etc/X11/xorg.conf.d/screen-qemu.conf
|
||||||
- name: Enable utouch module
|
- name: Enable utouch module
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
|
|
|
@ -19,15 +19,3 @@
|
||||||
name: dbus
|
name: dbus
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
- name: Set xorg screen size for kvm/qemu
|
|
||||||
become: true
|
|
||||||
ansible.builtin.copy:
|
|
||||||
src: screen-qemu.conf
|
|
||||||
dest: /usr/local/etc/X11/xorg.conf.d/screen-qemu.conf
|
|
||||||
when: ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
|
|
||||||
- name: Enable SDDM
|
|
||||||
become: true
|
|
||||||
ansible.builtin.lineinfile:
|
|
||||||
path: /etc/rc.conf.d/ansible-workstation
|
|
||||||
regexp: '^sddm_enable=.*'
|
|
||||||
line: 'sddm_enable="YES"'
|
|
||||||
|
|
Loading…
Reference in a new issue