wiseflat.peertube
Ansible Rolle: Peertube
Installiert Peertube für Ubuntu.
Anforderungen
Diese Rolle läuft nur auf Ubuntu.
Rollen-Variablen
Verfügbare Variablen sind unten aufgelistet, zusammen mit Standardwerten (siehe defaults/main.yml
):
peertube_version: v1.0.0-beta.4
peertube_domain: peertube.example.com
peertube_admin_email: peertube@example.com
peertube_database_suffix: _prod
peertube_database_username: peertube
peertube_database_password: peertube
peertube_smtp_hostname: smtp.example.com
peertube_smtp_port: 465
peertube_smtp_username: peertube@example.com
peertube_smtp_password: "eid2wueRudiv3ToX0oLkjnHy5rT("
peertube_smtp_tls: true
peertube_smtp_disable_starttls: false
peertube_smtp_ca_file: null # Wird für selbst signierte Zertifikate verwendet
peertube_smtp_from_address: 'peertube@example.com'
peertube_instance_name: PeerTube
peertube_instance_short_description: 'PeerTube, eine föderierte (ActivityPub) Video-Streaming-Plattform, die P2P (BitTorrent) direkt im Webbrowser mit WebTorrent und Angular verwendet.'
peertube_instance_description: ""
peertube_instance_terms: ""
peertube_services_twitter_username: '@Chocobozzz'
peertube_services_twitter_whitelisted: false
Abhängigkeiten
Keine.
Beispiel-Playbook
Hier ein Beispiel, wie man die Rolle verwendet:
---
- hosts: peertube
become: true
roles:
- geerlingguy.postgresql
- geerlingguy.nodejs
- geerlingguy.nginx
- geerlingguy.certbot
tasks:
- name: Mit certbot die Zertifikatserstellung testen
command: /usr/bin/certbot certonly --agree-tos --register-unsafely-without-email --test-cert --renew-by-default --webroot -w /var/www/html/ -d {{ peertube_domain }}
- name: Mit certbot ein Zertifikat erstellen
command: /usr/bin/certbot certonly --agree-tos --renew-by-default --register-unsafely-without-email --webroot -w /var/www/html/ -d {{ peertube_domain }}
- hosts: peertube
become: true
roles:
- wiseflat.peertube
Lizenz
Lizenz GPLv3
Autoreninformationen
Diese Rolle wurde von Mathieu Garcia erstellt.
ansible-galaxy install wiseflat.peertube