2017-02-19 13:56:47 +01:00
|
|
|
---
|
2017-02-20 14:29:15 +01:00
|
|
|
# This playbook sets up the basic packages an directories for a yaVDR installation
|
2017-02-23 13:15:04 +01:00
|
|
|
# file: roles/yavdr-common/tasks/main.yml
|
2017-02-19 13:56:47 +01:00
|
|
|
|
2017-02-22 15:27:48 +01:00
|
|
|
- name: apt | prevent automatic installation of recommended packages
|
2017-02-23 13:15:04 +01:00
|
|
|
template:
|
|
|
|
src: templates/90-norecommends.j2
|
2017-02-19 13:56:47 +01:00
|
|
|
dest: /etc/apt/apt.conf.d/90norecommends
|
|
|
|
|
|
|
|
- name: add yaVDR PPAs
|
|
|
|
apt_repository:
|
|
|
|
repo: '{{ item }}'
|
|
|
|
state: present
|
|
|
|
update_cache: yes
|
2017-02-20 14:29:15 +01:00
|
|
|
with_items: '{{ repositories }}'
|
2017-02-19 13:56:47 +01:00
|
|
|
|
|
|
|
- name: upgrade existing packages
|
|
|
|
apt:
|
|
|
|
upgrade: dist
|
|
|
|
update_cache: yes
|
|
|
|
|
2017-02-22 15:27:48 +01:00
|
|
|
- name: apt | install basic packages
|
2017-02-19 13:56:47 +01:00
|
|
|
apt:
|
2017-02-22 15:27:48 +01:00
|
|
|
name: '{{ item }}'
|
|
|
|
state: present
|
|
|
|
install_recommends: no
|
2017-02-19 13:56:47 +01:00
|
|
|
with_items:
|
2017-02-22 15:27:48 +01:00
|
|
|
- anacron
|
|
|
|
- at
|
|
|
|
- bash-completion
|
|
|
|
- biosdevname
|
|
|
|
- linux-firmware
|
|
|
|
- psmisc
|
|
|
|
- software-properties-common
|
|
|
|
- ssh
|
|
|
|
- ubuntu-drivers-common
|
|
|
|
- wget
|
|
|
|
- wpasupplicant
|
|
|
|
- usbutils
|
|
|
|
- xfsprogs
|