yavdr-ansible/roles/yavdr-common/tasks/main.yml

41 lines
888 B
YAML
Raw Normal View History

2017-02-19 13:56:47 +01:00
---
# This playbook sets up the basic packages an directories for a yaVDR installation
# 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
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
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