wiseflat.peertube

Rôle Ansible : Peertube

Installe Peertube pour Ubuntu.

Exigences

Ce rôle fonctionne uniquement sur Ubuntu.

Variables du rôle

Les variables disponibles sont listées ci-dessous, avec des valeurs par défaut (voir 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 : vrai

  • peertube_smtp_disable_starttls : faux

  • peertube_smtp_ca_file : null # Utilisé pour les certificats auto-signés

  • peertube_smtp_from_address : 'peertube@example.com'

  • peertube_instance_name : PeerTube

  • peertube_instance_short_description : 'PeerTube, une plateforme de streaming vidéo fédérée (ActivityPub) utilisant P2P (BitTorrent) directement dans le navigateur web avec WebTorrent et Angular.'

  • peertube_instance_description : ""

  • peertube_instance_terms : ""

  • peertube_services_twitter_username : '@Chocobozzz'

  • peertube_services_twitter_whitelisted : faux

Dépendances

Aucune.

Exemple de Playbook

Voici un exemple d'utilisation du rôle :

---
- hosts: peertube
  become: true
  roles:
    - geerlingguy.postgresql
    - geerlingguy.nodejs
    - geerlingguy.nginx
    - geerlingguy.certbot
  tasks:

    - name: Utiliser certbot pour tester la création de certificat
      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: Utiliser certbot pour générer le certificat
      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

Licence

licence GPLv3

Informations sur l'auteur

Ce rôle a été créé par Mathieu Garcia

À propos du projet

An ansible role to install peertube

Installer
ansible-galaxy install wiseflat.peertube
Licence
Unknown
Téléchargements
70
Propriétaire
SRE @ovh - DBaaS