Commit Graph

105 Commits

Author SHA1 Message Date
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 e2bf5c78f2
Update README.md
Update instructions for running playbook in install mode and not.
2018-08-25 12:09:50 -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
Sadiq Saif 6626b814d0
Merge pull request #8 from dracos/streaming-local
Default streaming to localhost only.
2018-08-25 11:41:50 -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
Sadiq Saif 84f6cb6b27
Merge pull request #5 from dracos/question-beginning
Remove unneeded non-mastodon steps.
2018-08-24 10:06:22 -04:00
Matthew Somerville 0503efd396 Remove unneeded non-mastodon steps. 2018-08-24 07:51:13 +01:00
Sadiq Saif 86b22bcca9
LOCAL_DOMAIN is in the group_vars/all.sample file 2018-08-23 23:36:02 -04:00
Sadiq Saif 52919dfe79
Update README.md to mention LOCAL_DOMAIN variable
We use LOCAL_DOMAIN now instead of ansible_nodename to set what (sub)-domain your Mastodon instance uses.
2018-08-23 23:33:50 -04:00
Sadiq Saif 6ccf4d365a
Merge pull request #4 from dracos/fetch-cert-twice
Update to fetch cert twice to allow easier renewal.
2018-08-23 18:45:42 -04: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
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 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 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