2018-08-09 10:07:20 +02:00
|
|
|
- name: use bash instead of dash
|
|
|
|
shell: |
|
|
|
|
echo "set dash/sh false" | debconf-communicate
|
|
|
|
dpkg-reconfigure -f noninteractive dash
|
2017-11-20 09:20:30 +01:00
|
|
|
- name: create vdr group
|
|
|
|
group:
|
|
|
|
gid: '{{ vdr.gid }}'
|
|
|
|
state: present
|
|
|
|
name: '{{ vdr.group }}'
|
|
|
|
|
|
|
|
- name: create vdr user
|
|
|
|
user:
|
|
|
|
name: '{{ vdr.user }}'
|
|
|
|
group: '{{ vdr.group }}'
|
|
|
|
uid: '{{ vdr.uid }}'
|
|
|
|
home: '{{ vdr.home }}'
|
|
|
|
shell: '/bin/bash'
|
|
|
|
state: present
|
|
|
|
append: true
|
|
|
|
- name: disable release-upgrade notifications
|
|
|
|
lineinfile:
|
|
|
|
dest: /etc/update-manager/release-upgrades
|
|
|
|
backrefs: yes
|
|
|
|
state: present
|
|
|
|
regexp: '^(Prompt=).*$'
|
|
|
|
line: '\1never'
|
2017-11-22 10:56:21 +01:00
|
|
|
ignore_errors: yes
|
2017-11-22 11:37:20 +01:00
|
|
|
with_first_found:
|
2017-11-22 11:40:17 +01:00
|
|
|
- files:
|
2017-11-22 11:37:20 +01:00
|
|
|
- /etc/update-manager/release-upgrades
|
|
|
|
skip: true
|
2017-11-20 09:20:30 +01:00
|
|
|
- name: apt | install basic packages
|
|
|
|
apt:
|
2018-10-05 17:49:39 +02:00
|
|
|
name:
|
|
|
|
- anacron
|
|
|
|
- acl
|
|
|
|
- at
|
|
|
|
- bash-completion
|
|
|
|
#- biosdevname # caution: may change device names after a minimal installation!
|
|
|
|
- debconf-utils
|
|
|
|
- linux-firmware
|
|
|
|
- psmisc
|
2019-03-10 20:35:58 +01:00
|
|
|
- python-jmespath
|
2018-10-05 17:49:39 +02:00
|
|
|
- python-kmodpy
|
|
|
|
- python-requests
|
|
|
|
- python-usb
|
|
|
|
- python3-usb
|
|
|
|
- software-properties-common
|
|
|
|
- ssh
|
|
|
|
- wget
|
|
|
|
- wpasupplicant
|
|
|
|
- usbutils
|
|
|
|
- xfsprogs
|
2019-05-15 14:47:24 +02:00
|
|
|
- yavdr-i18n
|
2017-11-20 09:20:30 +01:00
|
|
|
state: present
|
|
|
|
install_recommends: no
|
|
|
|
- name: apt | install extra packages
|
|
|
|
apt:
|
2018-10-05 17:49:39 +02:00
|
|
|
name: '{{ extra_packages }}'
|
2017-11-20 09:20:30 +01:00
|
|
|
state: present
|
|
|
|
install_recommends: no
|