Commit Graph

125 Commits

Author SHA1 Message Date
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
Sadiq Saif
9f98011287
Merge pull request #10 from dracos/letsencrypt-renewal-fix
Make sure LE config is correct for renewals.
2018-11-23 09:21:32 -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
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