-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpinchflat.yml
39 lines (34 loc) · 1001 Bytes
/
pinchflat.yml
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
---
- hosts: homelab
vars:
application: pinchflat
docker_network: "{{ networks.pub }}"
tasks:
- name: Create config and downloads folder
ansible.builtin.file:
path: "{{ item }}"
state: directory
owner: "{{ common_user }}"
group: "{{ common_group }}"
mode: "0755"
loop:
- "{{ config_directory }}"
- "{{ common_directory_download }}/YouTube"
- name: Create container
ansible.builtin.include_role:
name: docker_container
vars:
image: ghcr.io/kieraneglin/pinchflat:v2025.1.27
user: "{{ common_user_id }}:{{ common_group_id }}"
env:
TZ: "{{ common_timezone }}"
volumes:
- "{{ config_directory }}:/config"
- "{{ common_directory_download }}/YouTube:/downloads/"
traefik:
- port: 8945
auth: page
homepage:
group: Tools
weight: 250
description: "YouTube Downloader"