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
staticsafe
9ef4926ccd
Move group_vars/all to root of playbook
2017-11-26 19:59:24 -05:00
staticsafe
4c106708b3
Add roles/group_vars/all so we don't have to use the CLI.
2017-11-26 19:56:47 -05:00
staticsafe
ff181dd075
Add mastodon-webpush role
2017-11-26 19:34:31 -05:00
staticsafe
68d0032b44
Add mastodon-systemd role.
2017-11-26 19:03:28 -05:00
staticsafe
e3090a4395
Add letsencrypt-renew.sh and copy of renewal script
2017-11-26 18:24:59 -05:00
staticsafe
baf17287a7
Use template instead of copy in roles/mastodon-nginx/tasks/main.yml
2017-11-26 18:11:23 -05:00
staticsafe
84fd8d2662
Add email to letsencrypt command
2017-11-26 18:08:27 -05:00
staticsafe
057f4adf13
Enable mastodon-nginx role
2017-11-26 18:05:31 -05:00
staticsafe
cded7b6bc5
Add mastodon-nginx role.
2017-11-26 18:03:37 -05:00
staticsafe
e8e2dd6b00
redis tools package should be redis-tools
2017-11-26 17:39:11 -05:00
staticsafe
b9c8c0a9b0
Add mastodon-redis role
2017-11-26 17:37:24 -05:00
staticsafe
d45d95fced
Remove prompt
2017-11-26 17:21:25 -05:00
staticsafe
d62df95666
Trying out a prompt for Mastodon username
2017-11-26 17:18:43 -05:00
staticsafe
2288bae23e
roles/mastodon-postgresql/tasks/main.yml needed an extra - at top
2017-11-26 16:52:25 -05:00
staticsafe
5265db132c
Add mastodon-postgresql role.
2017-11-26 16:50:21 -05:00