46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
---
|
|
# This playbook sets up the basic packages an directories for a yaVDR installation
|
|
|
|
- name: apt | prevent automatic installation of recommended packages
|
|
blockinfile:
|
|
dest: /etc/apt/apt.conf.d/90norecommends
|
|
create: yes
|
|
state: present
|
|
marker: "// *** {mark} ANSIBLE MANAGED BLOCK ***"
|
|
block: |
|
|
// Recommends are as of now still abused in many packages
|
|
APT::Install-Recommends "0";
|
|
APT::Install-Suggests "0";
|
|
|
|
- name: add yaVDR PPAs
|
|
apt_repository:
|
|
repo: '{{ item }}'
|
|
state: present
|
|
update_cache: yes
|
|
with_items: '{{ repositories }}'
|
|
|
|
- name: upgrade existing packages
|
|
apt:
|
|
upgrade: dist
|
|
update_cache: yes
|
|
|
|
- name: apt | install basic packages
|
|
apt:
|
|
name: '{{ item }}'
|
|
state: present
|
|
install_recommends: no
|
|
with_items:
|
|
- anacron
|
|
- at
|
|
- bash-completion
|
|
- biosdevname
|
|
- linux-firmware
|
|
- psmisc
|
|
- software-properties-common
|
|
- ssh
|
|
- ubuntu-drivers-common
|
|
- wget
|
|
- wpasupplicant
|
|
- usbutils
|
|
- xfsprogs
|