Commit Graph

85 Commits

Author SHA1 Message Date
Sadiq Saif f3ef49eae4
Merge pull request #1 from dracos/upgrade-to-node-8
Upgrade to install node 8.
2018-08-23 17:50:14 -04:00
Matthew Somerville 569eaaff2f Upgrade to install node 8. 2018-08-23 21:05:55 +01:00
Sadiq Saif 65e8c564fd
Bump Mastodon git clone 2.4.1 2018-06-12 22:38:32 -04:00
staticsafe 5f964ea2b7 Add 18.04 to supported Ubuntu versions list 2018-05-28 13:39:41 -04:00
staticsafe 03239c1b88 getting weird failures in VAPID key generation trying something 2018-05-28 13:28:15 -04:00
staticsafe e1743c9425 Specify /bin/bash as the default shell for mastodon user 2018-05-28 13:11:02 -04:00
staticsafe a566baf0f0 Add when conditionals for xenial vs bionic deps 2018-05-28 12:49:23 -04:00
Sadiq Saif 11b8162246
Remove mention of 16.04 2018-05-28 12:37:46 -04:00
Sadiq Saif e27d11a311
use {{ ansible_distribution_release }} instead of xenial
This makes this task Ubuntu version agnostic
2018-05-28 12:22:57 -04:00
Sadiq Saif 043286087a
Bump Ruby version to 2.5.1 2018-05-28 12:12:03 -04:00
Sadiq Saif 919a296d3f
Bump Mastodon clone version to 2.4.0 2018-05-28 12:11:08 -04:00
Sadiq Saif 4df643e4a0
Bump Mastodon version clone to 2.3.3 2018-04-02 19:22:19 -04:00
Sadiq Saif b0073023b1
Fix typo for letsencrypt-renew.sh script 2018-03-22 09:23:44 -04:00
Sadiq Saif d4eee4e1b9
Bump Ruby version to 2.5.0 2018-02-26 13:00:24 -05:00
Sadiq Saif 9527b8484b
Update Mastodon version clone to v2.2.0 2018-02-06 12:13:49 -05:00
staticsafe 8e2f35cc23 Update Mastodon version checkout to v2.1.3. 2018-01-21 11:24:08 -05:00
staticsafe 2d31d38758 Update Mastodon version checkout to 2.1.0 in roles/mastodon-app/tasks/main.yml 2017-12-15 14:25:40 -05: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 75d0e0fb45 We now build Ruby with jemalloc, set RUBY_CONFIGURE_OPTS
Added needed dependencies to common role
2017-12-11 11:35:05 -05:00
staticsafe 7c2251247a Specify why we are stopping Mastodon services in roles/mastodon-postgresql/tasks/main.yml 2017-11-27 14:05:25 -05:00
staticsafe e7b7b1e51b mastodon-systemd role should run earlier as we want to stop services in mastodon-postgresql/tasks/main.yml 2017-11-27 13:25:13 -05:00
staticsafe c13efa8bd4 Set correct rbenv+ruby-build PATH everywhere needed 2017-11-27 13:18:44 -05:00
staticsafe f2a01638da Add note about new database variable in README.md 2017-11-27 12:25:20 -05:00
staticsafe c73e413727 Wrong indentation for a become in roles/mastodon-postgresql/tasks/main.yml 2017-11-27 12:19:45 -05:00
staticsafe f8df9d04d2 Quote template variables in roles/mastodon-postgresql/tasks/main.yml 2017-11-27 12:18:08 -05:00
staticsafe 16b6f2dc82 Move group_vars/all.sample to root of playbook. 2017-11-27 12:14:00 -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 72aad4357d Add requirements to README.md
Also some formatting changes.
2017-11-27 08:39:01 -05:00
staticsafe 9cf0e45052 Remove mention of group_vars file in README.md
Also mention that we now use ansible_nodename as a variable for playbook wide use
2017-11-26 22:55:22 -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 10e493ca8c We no longer need the mastodon-webpush role, removed. 2017-11-26 22:36:49 -05:00
staticsafe eb7f8c9faf Add comment in README.md about what files need editing 2017-11-26 22:32:58 -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 f5268d8ffd Add mention of web-push generate-vapid-keys 2017-11-26 21:41:09 -05:00
staticsafe 923565f273 Add some instructions in README.md and uncomment mastodon-config role 2017-11-26 21:33:31 -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
staticsafe 39eb3be7d3 Rename group_vars/all to group_vars/all.sample 2017-11-26 20:07:10 -05:00
staticsafe bb2b383ce4 Wrong variable format in group_vars/all 2017-11-26 20:01:36 -05:00