wiseflat.peertube

Ansible Role: Peertube

This role sets up Peertube on Ubuntu.

Requirements

This role works only on Ubuntu.

Role Variables

Here are the variables you can use, along with their default values (found in 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 # For self-signed certificates

  • peertube_smtp_from_address: 'peertube@example.com'

  • peertube_instance_name: PeerTube

  • peertube_instance_short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.'

  • peertube_instance_description: ""

  • peertube_instance_terms: ""

  • peertube_services_twitter_username: '@Chocobozzz'

  • peertube_services_twitter_whitelisted: false

Dependencies

None.

Example Playbook

Here's how to use this role:

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

    - name: Test certificate creation with certbot
      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: Generate certificate with certbot
      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

License

This role is licensed under GPLv3.

Author Information

This role was made by Mathieu Garcia.

Informazioni sul progetto

An ansible role to install peertube

Installa
ansible-galaxy install wiseflat.peertube
Licenza
Unknown
Download
70
Proprietario
SRE @ovh - DBaaS