Get it working on peertube.social
This commit is contained in:
parent
1069d95bba
commit
27626051bf
3 changed files with 6 additions and 2 deletions
|
@ -4,8 +4,9 @@
|
||||||
|
|
||||||
Configure your ssh connection in `inventory`.
|
Configure your ssh connection in `inventory`.
|
||||||
|
|
||||||
Install Ansible:
|
Install Python and Ansible:
|
||||||
|
|
||||||
|
apt install python
|
||||||
pip2 install ansible
|
pip2 install ansible
|
||||||
|
|
||||||
Run the playbook:
|
Run the playbook:
|
||||||
|
@ -13,3 +14,5 @@ Run the playbook:
|
||||||
ansible-playbook --become -K peertube.yml
|
ansible-playbook --become -K peertube.yml
|
||||||
|
|
||||||
It will prompt for root password to escalate privileges through `sudo`.
|
It will prompt for root password to escalate privileges through `sudo`.
|
||||||
|
|
||||||
|
Note: If you run this on an existing server, make sure the file `passwords/*your-server*/postgres` exists and contains the correct password. Otherwise Ansible will change the password in Peertube, and it won't be able to connect to the database.
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[peertube]
|
[peertube]
|
||||||
root@testing.peertube.social domain=testing.peertube.social
|
root@testing.peertube.social domain=testing.peertube.social
|
||||||
|
felix@peertube.social domain=peertube.social
|
||||||
|
|
||||||
[all:vars]
|
[all:vars]
|
||||||
ansible_connection=ssh
|
ansible_connection=ssh
|
||||||
|
|
|
@ -8,5 +8,5 @@ PEERTUBE_SMTP_FROM=info@{{ domain }}
|
||||||
PEERTUBE_SMTP_TLS=false
|
PEERTUBE_SMTP_TLS=false
|
||||||
PEERTUBE_ADMIN_EMAIL=info@{{ domain }}
|
PEERTUBE_ADMIN_EMAIL=info@{{ domain }}
|
||||||
|
|
||||||
POSTGRES_USER=peertube
|
POSTGRES_USER=postgres
|
||||||
POSTGRES_PASSWORD={{ postgres_password }}
|
POSTGRES_PASSWORD={{ postgres_password }}
|
||||||
|
|
Loading…
Reference in a new issue