mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Install invidious
This commit is contained in:
parent
30b83f9067
commit
cb7082a4a0
5 changed files with 82 additions and 0 deletions
23
roles/invidious-docker/tasks/main.yml
Normal file
23
roles/invidious-docker/tasks/main.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
- name: Copy docker-compose.yml
|
||||
copy:
|
||||
src: docker-compose.yml
|
||||
dest: "{{docker_compose_files_folder}}/invidious/"
|
||||
|
||||
- name: Copy config
|
||||
copy:
|
||||
src: config.yml
|
||||
dest: "{{docker_compose_files_folder}}/invidious/"
|
||||
|
||||
- name: Checkout git repo
|
||||
git:
|
||||
repo: https://github.com/omarroth/invidious.git
|
||||
dest: "{{docker_compose_files_folder}}/invidious/repo"
|
||||
force: yes
|
||||
|
||||
- name: Build and start docker project
|
||||
docker_compose:
|
||||
project_src: "{{docker_compose_files_folder}}/invidious"
|
||||
build: yes
|
||||
pull: yes
|
||||
state: present
|
||||
Loading…
Add table
Add a link
Reference in a new issue