~xenrox/ansible

9b80d40c18e9eedf18e80103cd85811bc32f1129 — Thorben Günther 2 years ago c616c5c
Peertube: Update for oidc

Change admin email, set default quota to zero, install yarn for plugins,
set dark theme.
M roles/peertube/files/local-production.json => roles/peertube/files/local-production.json +4 -9
@@ 22,7 22,7 @@
    }
  },
  "theme": {
    "default": "default"
    "default": "dark"
  },
  "services": {
    "twitter": {


@@ 60,24 60,19 @@
  "trending": {
    "videos": {
      "algorithms": {
        "enabled": [
          "best",
          "hot",
          "most-viewed",
          "most-liked"
        ],
        "enabled": ["best", "hot", "most-viewed", "most-liked"],
        "default": "most-viewed"
      }
    }
  },
  "admin": {
    "email": "admin@xenrox.net"
    "email": "peertube@xenrox.net"
  },
  "contact_form": {
    "enabled": true
  },
  "user": {
    "video_quota": -1,
    "video_quota": 0,
    "video_quota_daily": -1
  },
  "transcoding": {

M roles/peertube/tasks/main.yml => roles/peertube/tasks/main.yml +2 -2
@@ 1,7 1,7 @@
---
- name: Install nodejs
- name: Install nodejs and yarn
  community.general.pacman:
    name: nodejs-lts-fermium
    name: nodejs-lts-fermium,yarn
    state: present

- name: install

M roles/peertube/templates/production.yaml.j2 => roles/peertube/templates/production.yaml.j2 +2 -2
@@ 231,7 231,7 @@ cache:
admin:
  # Used to generate the root user at first startup
  # And to receive emails from the contact form
  email: "admin@xenrox.net"
  email: "peertube@xenrox.net"

contact_form:
  enabled: true


@@ 249,7 249,7 @@ signup:
user:
  # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
  # -1 == unlimited
  video_quota: -1
  video_quota: 0
  video_quota_daily: -1

# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag