blob: 55dbecad6ad8cdb5ce6ced0a2abd8fec0f20ac90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
---
- name: libvirt | Install packages for libvirt
apt:
name:
- openjdk-8-jre-headless
- libvirt-daemon-system
- libvirt-daemon
- libvirt-clients
- virt-viewer
- dnsmasq
state: present
install_recommends: no
- name: libvirt | Remove default network configuration
file:
path: "{{ item }}"
state: absent
with_items:
- /etc/libvirt/qemu/networks/default.xml
- /etc/libvirt/qemu/networks/autostart/default.xml
- name: libvirt | Remove GNOME from accessibility.properties
replace:
path: /etc/java-8-openjdk/accessibility.properties
regexp: '^(assistive_technologies=.*)'
replace: '#\1'
- name: livirt | Disable systemd services
systemd:
name: "{{ item }}"
enabled: no
with_items:
- libvirtd
- libvirtd.socket
- libvirt-guests
- dnsmasq
ignore_errors: yes
|