Commit Graph

93 Commits

Author SHA1 Message Date
staticsafe
cbc66a96a6 Switch to using acme.sh for ssl certificates 2019-01-12 15:06:37 -05:00
Sadiq Saif
634326db36
Delete cli.ini
Not needed
2019-01-12 14:48:30 -05:00
Sadiq Saif
917ef76af0
Remove Let's Encrypt config copy, it is not needed 2019-01-12 14:48:09 -05:00
Sadiq Saif
3f10179c92
certbot e-mail flag should be -m instead of --email 2019-01-12 14:42:49 -05:00
Sadiq Saif
972dafc96f
Also install bundler 1.16.6
for some reason there is a Gemfile.lock file causing issues
2019-01-12 14:22:46 -05:00
Sadiq Saif
ed00bd3dfa
Remove task to remove Gemfile.lock 2019-01-12 14:19:40 -05:00
Sadiq Saif
94250ff2ed
remove deployment flags from bundle install 2019-01-12 14:17:17 -05:00
Sadiq Saif
d6cf42e065
Add task to remove any Gemfile.lock files 2019-01-12 14:14:40 -05:00
Sadiq Saif
fec65a063a
Bump version to 2.6.5 2018-12-04 09:26:54 -05:00
Matthew Somerville
999a959987 Make sure LE config is correct for renewals. 2018-11-22 13:44:36 +00:00
Sadiq Saif
859c35f0a8
Bump Ruby version to 2.5.3 2018-11-03 18:12:59 -04:00
Sadiq Saif
4d30738a23
Bump version to 2.6.1 2018-11-03 18:07:08 -04:00
Sadiq Saif
d3db4b28e7
Bump Mastodon version to v2.5.0 2018-09-25 09:42:38 -04:00
Sadiq Saif
a5e1061d45
Merge pull request #9 from dracos/allow-rerunning
Allow playbook to be run for updates as well as install.
2018-08-25 12:03:57 -04: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
0376e27c50 Default streaming to localhost only. 2018-08-25 15:44:19 +01:00
Matthew Somerville
0503efd396 Remove unneeded non-mastodon steps. 2018-08-24 07:51:13 +01:00
Matthew Somerville
2b340fef6d Update to fetch cert twice to allow easier renewal.
Match current production docs.
2018-08-23 23:42:15 +01:00
Sadiq Saif
81e3c0962e
Merge pull request #6 from dracos/upgrade-v2.4.4
Bump mastodon to 2.4.4.
2018-08-23 18:16:22 -04:00
Sadiq Saif
ba85bec09f
Merge pull request #3 from dracos/allow-local-domain-variable
Add LOCAL_DOMAIN variable.
2018-08-23 17:55:05 -04:00
Sadiq Saif
46e947c22c
Merge pull request #2 from dracos/remove-unneeded-install
Remove unneeded install.
2018-08-23 17:51:08 -04:00
Matthew Somerville
381aae33e6 Bump mastodon to 2.4.4. 2018-08-23 21:08:38 +01:00
Matthew Somerville
569eaaff2f Upgrade to install node 8. 2018-08-23 21:05:55 +01:00
Matthew Somerville
463654a050 Remove unneeded install.
libgdbm-dev already has the appropriate package as a dependency.
2018-08-23 21:05:40 +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
Sadiq Saif
65e8c564fd
Bump Mastodon git clone 2.4.1 2018-06-12 22:38:32 -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
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
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