2019-11-20 10:07:43 +00:00
|
|
|
---
|
|
|
|
- name: Start DBUS service
|
|
|
|
become: true
|
|
|
|
service:
|
|
|
|
name: dbus
|
|
|
|
state: started
|
|
|
|
enabled: yes
|
|
|
|
- name: Set xorg keyboard layout
|
|
|
|
become: true
|
|
|
|
copy:
|
|
|
|
src: keyboard-gb.conf
|
|
|
|
dest: /usr/local/etc/X11/xorg.conf.d/keyboard-gb.conf
|
2019-11-20 10:46:26 +00:00
|
|
|
- name: Set xorg screen size for kvm/qemu
|
|
|
|
become: true
|
|
|
|
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"
|