From 33cc937b8a7694e50206be26b5f4dd2e5746a4ec Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 27 May 2020 05:48:25 +0200 Subject: [PATCH] Add deployment for test.peertube.social --- README.md | 7 +++++-- ansible.cfg | 3 --- group_vars/test.yml | 16 ++++++++++++++++ test | 2 ++ 4 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 group_vars/test.yml create mode 100644 test diff --git a/README.md b/README.md index e4c4e04..c6f20b4 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,12 @@ Use this repo to report any technical issues with peertube.social. ## 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 diff --git a/ansible.cfg b/ansible.cfg index b0e331b..d09331d 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,6 +1,3 @@ -[defaults] -inventory=prod - [privilege_escalation] become = True diff --git a/group_vars/test.yml b/group_vars/test.yml new file mode 100644 index 0000000..73ffc20 --- /dev/null +++ b/group_vars/test.yml @@ -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 \ No newline at end of file diff --git a/test b/test new file mode 100644 index 0000000..fa67dc0 --- /dev/null +++ b/test @@ -0,0 +1,2 @@ +[test] +root@test.peertube.social