Add deployment for test.peertube.social

This commit is contained in:
Felix Ableitner 2020-05-27 05:48:25 +02:00
parent 2a244ee167
commit 33cc937b8a
4 changed files with 23 additions and 5 deletions

View File

@ -6,9 +6,12 @@ Use this repo to report any technical issues with peertube.social.
## Usage ## Usage
Just run the following command: Just run one of the following commands:
``` ```
ansible-playbook peertube.yml --ask-vault-pass # deploy to test.peertube.social
ansible-playbook -i test peertube.yml --ask-vault-pass
# deploy to peertube.social
ansible-playbook -i prod peertube.yml --ask-vault-pass
``` ```
If you want to use this configuration for your own instance, you need to fork this repo and enter your own domain in If you want to use this configuration for your own instance, you need to fork this repo and enter your own domain in

View File

@ -1,6 +1,3 @@
[defaults]
inventory=prod
[privilege_escalation] [privilege_escalation]
become = True become = True

16
group_vars/test.yml Normal file
View File

@ -0,0 +1,16 @@
domain: test.peertube.social
cache_size_gb: 15
letsencrypt_contact_email: !vault |
$ANSIBLE_VAULT;1.1;AES256
34396662626434663938383434663832613934666366356630326339643566623831626139363361
3266616131373866366130653235386163643362313538620a306538386331346165323632343536
63313833623463316266383533366434383839353134663432323137383661643432363836333862
3264396433366662660a613531326164653336623666356633643935303731346365653666336236
3364
postgres_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
37666539623134376633623438636664323464313333333762303562663965663762333836396439
3030383263346432633336616139373131633161313435650a653037346238383835343664393766
37316234373533363131376338393832353363383931663035613030623631343364336362303536
6363353665343463350a353631356565316638303565663933393338386131346663623932323463
62393934383936346566663338636137303132313039353137666561303039373961

2
test Normal file
View File

@ -0,0 +1,2 @@
[test]
root@test.peertube.social