LABEL ubuntu
menu ubuntu install
kernel images/ubuntu/ubuntu-installer/amd64/linux
append vga=788 initrd=images/ubuntu/ubuntu-installer/amd64/initrd.gz --- auto=true url=http://ваш-сервер/preseed.cfg quiet
auto=true url=http://ваш-сервер/preseed.cfg
- name: create users
user:
name: "{{ item }}"
createhome: yes
state: present
password: "{{ lookup('password', '/tmp/' + ansible_host + '_' + item + '_password.txt encrypt=md5_crypt chars=ascii_letters,digits length=1
update_password: on_create
with_items:
- "{{ users }}"
register: newuser
-s 96
Snarf snaplen bytes of data from each packet rather than the default of 68 (with NIT, the minimum is actually 96). 68 bytes is adequate for IP, ICMP, TCP and UDP but may truncate protocol information from name server and NFS packets (see below). Packets truncated because of a limited snapshot are indicated in the output with ``[|proto]'', where proto is the name of the protocol level at which the truncation has occurred. Note that taking larger snapshots both increases the amount of time it takes to process packets and, effectively, decreases the amount of packet buffering. This may cause packets to be lost. You should limit snaplen to the smallest number that will capture the protocol information you're interested in.