Started modifying for nas

This commit is contained in:
Jef Roosens 2022-11-12 23:40:32 +01:00
parent 18ae3aaf4e
commit 9f77e30161
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
6 changed files with 68 additions and 62 deletions

View file

@ -0,0 +1,42 @@
- 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:
- vim
- caddy
- jellyfin
- ufw
- samba
state: present
update_cache: true