24 lines
529 B
YAML
24 lines
529 B
YAML
---
|
|
|
|
# update ansible galaxy
|
|
- name: "update ansible galaxy"
|
|
hosts: "all"
|
|
tasks:
|
|
|
|
# due to semaphore bug we need to do this ourselves
|
|
- name: "force-update requirements"
|
|
ansible.builtin.command:
|
|
cmd: "ansible-galaxy install -f -r requirements.yml"
|
|
become: false
|
|
delegate_to: "localhost"
|
|
changed_when: false
|
|
failed_when: false
|
|
|
|
# execute this role
|
|
- name: "install Jellyfin"
|
|
hosts: "all"
|
|
become: true
|
|
roles:
|
|
- role: "docker"
|
|
- role: "jellyfin"
|
|
- role: "traefik"
|