Sadiq Saif
43a0c80949
job line should end in quote
2019-02-21 11:28:09 -05:00
Sadiq Saif
cabe29a6d4
Change media cache cleanup cronjob to use tootctl
2019-02-21 11:27:26 -05:00
Matthew Somerville
b18e191336
Allow playbook to be run for updates as well as install.
2018-08-25 15:49:24 +01:00
Matthew Somerville
f9190f3978
Add LOCAL_DOMAIN variable.
...
I wanted to use Mastodon on a server whose hostname didn’t match the domain to be used.
2018-08-23 21:05:22 +01:00
staticsafe
03239c1b88
getting weird failures in VAPID key generation trying something
2018-05-28 13:28:15 -04:00
staticsafe
f34f5a5eb6
We only need to copy .env.production once now
...
setting the SECRET_KEY_BASE environtment variable to 0 allows us to generate a VAPID_KEY
2017-12-11 12:20:30 -05:00
staticsafe
280efc749b
Oops had environment twice in roles/mastodon-config/tasks/main.yml
2017-12-11 12:15:54 -05:00
staticsafe
caa96d235f
Try setting SECRET_KEY_BASE to 0 when generating VAPID_KEYS
2017-12-11 12:14:43 -05:00
staticsafe
c13efa8bd4
Set correct rbenv+ruby-build PATH everywhere needed
2017-11-27 13:18:44 -05:00
staticsafe
7c8d869f7c
Switch over to using a variable for database name
...
Also addition to PostgreSQL role to drop any existing database with the same name to allow for playbook reruns.
2017-11-27 12:12:42 -05:00
staticsafe
08fd4dc970
Change name of task in roles/mastodon-config/tasks/main.yml
2017-11-27 11:58:18 -05:00
staticsafe
6f503dedfe
Run assets precompile before database setup
...
This is so that if the precompile is killed due to OOM, you can just restart the playbook without needing to change the database
name in .env.production as it isn't created yet.
2017-11-27 11:55:32 -05:00
staticsafe
5f12cf17d1
Try restarting the mastodon services in roles/mastodon-config/tasks/main.yml
2017-11-27 11:48:28 -05:00
staticsafe
ba11593f07
We now use ansible_nodename so we don't need group_vars/all.sample
2017-11-26 22:47:25 -05:00
staticsafe
533db0d400
Ignore errors first time we copy .env.production
2017-11-26 22:19:35 -05:00
staticsafe
6b24b411b1
let's try registered variables with VAPID keys
2017-11-26 22:15:43 -05:00
staticsafe
f7bd49571e
Use stdout value in roles/mastodon-config/templates/.env.production.sample
2017-11-26 22:07:21 -05:00
staticsafe
d5d00bb815
it should be OTP_SECRET in roles/mastodon-config/templates/.env.production.sample
2017-11-26 22:01:35 -05:00
staticsafe
c332e83312
Try registered variables to template app secrets
2017-11-26 22:00:05 -05:00
staticsafe
75711b6fc8
Remove environment setting from shell command
2017-11-26 21:23:58 -05:00
staticsafe
c387f83ae7
add SAFETY_ASSURED=1 to roles/mastodon-config/tasks/main.yml
2017-11-26 21:11:21 -05:00
staticsafe
d659d42bda
set RAILS_ENV=production using shell instead
2017-11-26 21:06:30 -05:00
staticsafe
5bff8365ad
Add mastodon-config role.
2017-11-26 20:58:45 -05:00