blob: 83b5fca1088d2238c37070813377f0749ff9f399 (
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
|
---
- name: install dependencies
apt:
name:
- qemu-kvm
- # configuration package, pulls in libvirt-clients and libvirt-daemon
libvirt-daemon-system
- python-libvirt
- haveged
- bridge-utils
- acl
state: present
- name: configure haveged
lineinfile:
regexp: "^#?DAEMON_ARGS"
line: 'DAEMON_ARGS="-w 3072"'
path: /etc/default/haveged
notify: restart haveged
- name: make sure installer directories exists
loop:
- "{{ debian_installer_path }}"
- "{{ preseed_path }}"
file:
name: "{{ item }}"
state: directory
- name: install vm-host network
when: vm_host.network is defined
include_tasks: network.yml
|