projects
/
noc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vm/host: Install haveged on VM hosts
[noc.git]
/
ansible
/
roles
/
vm
/
host
/
tasks
/
main.yml
diff --git
a/ansible/roles/vm/host/tasks/main.yml
b/ansible/roles/vm/host/tasks/main.yml
index
248f855
..
a7b018c
100644
(file)
--- a/
ansible/roles/vm/host/tasks/main.yml
+++ b/
ansible/roles/vm/host/tasks/main.yml
@@
-1,5
+1,5
@@
---
---
-- name: install tftpd and python-libvirt
+- name: install dependencies
apt:
name:
- atftpd
apt:
name:
- atftpd
@@
-7,8
+7,16
@@
- qemu-kvm
- libvirt-bin
- python-libvirt
- qemu-kvm
- libvirt-bin
- python-libvirt
+ - haveged
state: present
state: present
+- name: configure haveged
+ lineinfile:
+ regexp: "^#?DAEMON_ARGS"
+ line: 'DAEMON_ARGS="-w 3072"'
+ path: /etc/default/haveged
+ notify: restart haveged
+
- name: configure tftpd via inetd
lineinfile:
regexp: "^#?({{ vm_host.network.ip }}:)?tftp"
- name: configure tftpd via inetd
lineinfile:
regexp: "^#?({{ vm_host.network.ip }}:)?tftp"