-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathpackages.yml
More file actions
45 lines (38 loc) · 988 Bytes
/
packages.yml
File metadata and controls
45 lines (38 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
# packages-ubuntu.yml
- name: Add the mythtv repo
ansible.builtin.apt_repository:
repo: ppa:mythbuntu/{{ mythtv_version }}
- name: Import repository keys for additional repos
apt_key:
id: "{{ item.value }}"
keyserver: keyserver.ubuntu.com
with_dict: "{{ ubuntu_apt_keys }}"
- name: Ensure repositories available
apt_repository:
repo: "{{ item }}"
filename: ubuntu
with_items: "{{ ubuntu_repos }}"
- name: Update repository sources
apt:
update_cache: yes
cache_valid_time: 86400
- name: Install system packages
apt:
name: "{{ ubuntu_packages }}"
- name: Remove akonadi-dependent packages
apt:
autoremove: yes
name:
- akonadi-server
- kaddressbook
- kmail
- korganizer
state: absent
- name: Enable dvdcss
environment:
DEBIAN_FRONTEND: noninteractive
command: dpkg-reconfigure libdvd-pkg
args:
creates: /usr/lib/x86_64-linux-gnu/libdvdcss.so
when: ansible_distribution_version >= '18.04'