Commit Graph

12 Commits

Author SHA1 Message Date
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