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.4peertube_domain
: peertube.example.compeertube_admin_email
: peertube@example.compeertube_database_suffix
: _prodpeertube_database_username
: peertubepeertube_database_password
: peertubepeertube_smtp_hostname
: smtp.example.compeertube_smtp_port
: 465peertube_smtp_username
: peertube@example.compeertube_smtp_password
: "eid2wueRudiv3ToX0oLkjnHy5rT("peertube_smtp_tls
: truepeertube_smtp_disable_starttls
: falsepeertube_smtp_ca_file
: null # For self-signed certificatespeertube_smtp_from_address
: 'peertube@example.com'peertube_instance_name
: PeerTubepeertube_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.
ansible-galaxy install wiseflat.peertube