lots of stuff

This commit is contained in:
Jef Roosens 2022-12-02 21:23:33 +01:00
parent 9f77e30161
commit 6a209092e1
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
12 changed files with 375 additions and 39 deletions

View file

@ -1,42 +1,11 @@
- name: Install required packages for adding GPG keys
apt:
name:
- debian-keyring
- debian-archive-keyring
- apt-transport-https
state: present
update_cache: true
- name: Add GPG keys
apt_key:
url: "{{ item }}"
state: present
with_items:
- https://dl.cloudsmith.io/public/caddy/stable/gpg.key
- https://repo.jellyfin.org/debian/jellyfin_team.gpg.key
- name: Add Caddy repositories
apt_repository:
repo: "{{ item }} https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version main"
filename: 'caddy-stable'
state: present
with_items:
- deb
- deb-src
- name: Add Jellyfin repository
apt_repository:
repo: "deb https://repo.jellyfin.org/debian bullseye main"
filename: 'jellyfin'
state: present
- name: Install packages
apt:
name:
# Needed for handling GPG keys for repositories
- debian-keyring
- debian-archive-keyring
- apt-transport-https
# Easy to edit files
- vim
- caddy
- jellyfin
- ufw
- samba
state: present
update_cache: true