: integrate peertube conf/db inside peertube role

This commit is contained in:
VC
2025-02-15 09:36:07 +01:00
parent 7f8db91dfb
commit 72eaeb37db
5 changed files with 825 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
---
- name: Init db
ansible.builtin.include_tasks: db.yml
- name: Install prereq
ansible.builtin.package:
name:
@@ -90,6 +93,15 @@
owner: peertube
group: peertube
# No need to notify, service is restarted everytime
- name: Install config file
ansible.builtin.template:
src: "production.yaml.j2"
dest: "{{ peertube_home }}/config/production.yaml"
owner: peertube
group: peertube
mode: "0o600"
- name: Run services
ansible.builtin.systemd:
name: peertube.service