chore(jellyfin): migrate to fully-qualified module names

This commit is contained in:
transcaffeine 2024-10-03 22:25:46 +02:00
parent fd4cc0fe6a
commit ddfa8d6687
Signed by: transcaffeine
GPG Key ID: 03624C433676E465

View File

@ -1,14 +1,14 @@
--- ---
- name: Ensure user '{{ jellyfin_user }}' for jellyfin is created - name: Ensure user '{{ jellyfin_user }}' for jellyfin is created
user: ansible.builtin.user:
name: "{{ jellyfin_user }}" name: "{{ jellyfin_user }}"
state: present state: present
system: yes system: yes
register: jellyfin_user_info register: jellyfin_user_info
- name: Ensure host directories for jellyfin exist - name: Ensure host directories for jellyfin exist
file: ansible.builtinfile:
path: "{{ item.path }}" path: "{{ item.path }}"
state: directory state: directory
owner: "{{ item.owner | default(jellyfin_uid) }}" owner: "{{ item.owner | default(jellyfin_uid) }}"
@ -17,7 +17,7 @@
loop: "{{ jellyfin_host_directories }}" loop: "{{ jellyfin_host_directories }}"
- name: Ensure container image for jellyfin is available - name: Ensure container image for jellyfin is available
docker_image: community.docker.docker_image:
name: "{{ jellyfin_container_image_ref }}" name: "{{ jellyfin_container_image_ref }}"
state: present state: present
source: pull source: pull
@ -28,7 +28,7 @@
delay: 3 delay: 3
- name: Ensure container '{{ jellyfin_container_name }}' is running - name: Ensure container '{{ jellyfin_container_name }}' is running
docker_container: community.docker.docker_container:
name: "{{ jellyfin_container_name }}" name: "{{ jellyfin_container_name }}"
image: "{{ jellyfin_container_image_ref }}" image: "{{ jellyfin_container_image_ref }}"
user: "{{ jellyfin_uid }}:{{ jellyfin_gid }}" user: "{{ jellyfin_uid }}:{{ jellyfin_gid }}"