Commit Graph

103 Commits

Author SHA1 Message Date
staticsafe
862d70f14c Let's try the register method to get latest version automatically 2019-01-12 22:18:58 -05:00
staticsafe
c47775c2a9 we ignore errors for certificate generation to allow for repeat runs 2019-01-12 19:33:47 -05:00
staticsafe
8b4fbb9a4b maybe we chdir to the acme.sh directory? 2019-01-12 19:19:57 -05:00
staticsafe
6c46b72fa1 Use git clone method of acme.sh installation 2019-01-12 19:13:54 -05:00
staticsafe
e1a60b4976 Remove letsencrypt-renew.sh as that is handled by the acme.sh install script 2019-01-12 15:41:41 -05:00
staticsafe
f11b428253 We need socat for acme.sh standalone mode 2019-01-12 15:30:24 -05:00
staticsafe
cc82212c99 add a pre-hook to stop nginx for standalone mode 2019-01-12 15:28:06 -05:00
staticsafe
802423460a Let's try in non-nginx mode 2019-01-12 15:21:51 -05:00
staticsafe
63abece6a0 Run nginx install tasks before configs are copied 2019-01-12 15:16:28 -05:00
staticsafe
adcc82103f Specify direct path to acme.sh and remove mentions of letsencrypt/certbot 2019-01-12 15:11:39 -05:00
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