Move debian-installer downloads to its own role
[noc.git] / ansible / roles / vm / host / tasks / main.yml
1 ---
2 - name: install dependencies
3   apt:
4     name:
5       - qemu-kvm
6       - libvirt-bin
7       - python-libvirt
8       - haveged
9     state: present
10
11 - name: configure haveged
12   lineinfile:
13     regexp: "^#?DAEMON_ARGS"
14     line: 'DAEMON_ARGS="-w 3072"'
15     path: /etc/default/haveged
16   notify: restart haveged
17
18 - name: make sure installer directories exists
19   with_items:
20     - "{{ debian_installer_path }}"
21     - "{{ preseed_path }}"
22   file:
23     name: "{{ item }}"
24     state: directory