Commit Graph

113 Commits

Author SHA1 Message Date
Sadiq Saif 644b2ddccb
Bump Ruby version up to 2.6.6 2020-05-09 11:18:56 -04:00
staticsafe 8a13e93dd4 Bump Ruby version install to 2.6.1. 2019-07-21 21:00:43 -04:00
staticsafe 494e60bfd2 Switch away from using with_items for apt uses 2019-07-21 20:49:19 -04:00
Sadiq Saif 43a0c80949
job line should end in quote 2019-02-21 11:28:09 -05:00
Sadiq Saif cabe29a6d4
Change media cache cleanup cronjob to use tootctl 2019-02-21 11:27:26 -05:00
Sadiq Saif 49c7b98e13
Start node directly instead of using npm
This is as per this pull request - https://github.com/tootsuite/mastodon/pull/10032
2019-02-17 14:25:15 -05:00
Sadiq Saif 7b184e9a60
Bump Ruby version to 2.6.0 2019-01-20 11:19:30 -05:00
staticsafe 1162264892 Ah, should be .stdout 2019-01-12 22:25:29 -05:00
staticsafe 8c8bf19596 let's try without quotes and brackets 2019-01-12 22:23:43 -05:00
staticsafe af580d57c7 variable should be quoted 2019-01-12 22:20:13 -05:00
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