blob: 562e502e5a4462ff6e75e37a2702509e6e0ed9eb (
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
|
---
- name: install dependencies
apt:
name:
- qemu-kvm
- # configuration package, pulls in libvirt-clients and libvirt-daemon
libvirt-daemon-system
- python-libvirt
- haveged
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
|