Commit Graph

420 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI a8b637a51e Install `node_exporter` when finding a newer version. 2019-11-08 00:29:00 +08:00
Kazuhiro MUSASHI 45fe078188 Install `consul-template` when finding a newer version. 2019-11-08 00:28:45 +08:00
Kazuhiro MUSASHI e0820892d4 Install `consul`, when finding a newer version. 2019-11-08 00:28:13 +08:00
Kazuhiro MUSASHI 32ede88fbb Merge branch 'modify-aws-swap-generation' of kazu634/itamae into master 2019-11-06 00:22:34 +09:00
Kazuhiro MUSASHI 2c96bd7276 Modify the way of generating swap image. 2019-11-05 23:20:35 +08:00
Kazuhiro MUSASHI 8489d95992 Merge branch 'misc-modification-for-nginx' of kazu634/itamae into master 2019-11-06 00:19:37 +09:00
Kazuhiro MUSASHI 46929fe87a Delete net.ipv4.tcp_tw_recycle=1. 2019-11-05 23:17:54 +08:00
Kazuhiro MUSASHI 482c71ece1 Get SSL certificate first. 2019-11-05 23:17:01 +08:00
Kazuhiro MUSASHI e19fd992d3 Create storage director for blog data. 2019-11-05 23:16:25 +08:00
Kazuhiro MUSASHI 6cfb4cdccf fix typo: fstab -> mount 2019-11-05 23:15:14 +08:00
Kazuhiro MUSASHI 99136245c4 Merge branch 'modify-blog-deployment' of kazu634/itamae into master 2019-11-06 00:12:48 +09:00
Kazuhiro MUSASHI 272afbaf2e Deploy /etc/cron.d/blog. 2019-11-06 00:12:47 +09:00
Kazuhiro MUSASHI 7d6ae95020 Generate `ticket.key` by `nginx` cookbook. 2019-11-06 00:12:47 +09:00
Kazuhiro MUSASHI 28053a2c37 Deploy `dhparams_4096.pem` & `ticket.key`. 2019-11-06 00:12:47 +09:00
Kazuhiro MUSASHI 37e11592cd Do not execute the maitenance procedures. 2019-11-06 00:12:47 +09:00
Kazuhiro MUSASHI 494f16b4f8 Use `nginx` repository configs 2019-11-06 00:12:46 +09:00
Kazuhiro MUSASHI eddc0a517f Create sym-link to `/etc/nginx` config directories. 2019-11-06 00:12:46 +09:00
Kazuhiro MUSASHI 7349dc9b30 Clone the nginx config from the git repository. 2019-11-06 00:12:46 +09:00
Kazuhiro MUSASHI 12f21856bd Merge branch 'use-fzf-instead-of-peco' of kazu634/itamae into master 2019-11-03 14:11:45 +09:00
Kazuhiro MUSASHI 7a3348aa40 Use `fzf`, instead of `peco`. 2019-11-03 13:08:14 +08:00
Kazuhiro MUSASHI f57ee89459 Merge branch 'use-lego-for-ssl-certificate' of kazu634/itamae into master 2019-10-28 00:54:05 +09:00
Kazuhiro MUSASHI b01aee85b5 Load `lego.rb` instead of `letsencrypt.rb`.
diff --git a/cookbooks/nginx/default.rb b/cookbooks/nginx/default.rb
index f7a30a7..8529d93 100644
--- a/cookbooks/nginx/default.rb
+++ b/cookbooks/nginx/default.rb
@@ -14,4 +14,4 @@ include_recipe './build.rb'
 include_recipe './setup.rb'

 # Install Let's Encrypt:
-include_recipe './letsencrypt.rb'
\ No newline at end of file
+include_recipe './lego.rb'
2019-10-27 23:50:00 +08:00
Kazuhiro MUSASHI f9c59e53ba Download and install `lego`. 2019-10-27 23:49:47 +08:00
Kazuhiro MUSASHI b788c6b73b Rename `letsencrypt.rb` to `lego.rb`. 2019-10-27 23:49:10 +08:00
Kazuhiro MUSASHI 2088c670ea Merge branch 'enable-nginx-stream' of kazu634/itamae into master 2019-10-27 16:09:25 +09:00
Kazuhiro MUSASHI be73c1f6a5 Create the config directory for stream config. 2019-10-27 15:07:46 +08:00
Kazuhiro MUSASHI a434ddaee2 Load the `Nginx` config from `stream-enable/` directory. 2019-10-27 15:07:23 +08:00
Kazuhiro MUSASHI 57647177bf Enable `stream` module. 2019-10-27 15:07:12 +08:00
Kazuhiro MUSASHI 7d6f53caa7 Merge branch 'add-webadm-ssh-credentials' of kazu634/itamae into master 2019-10-27 15:44:21 +09:00
Kazuhiro MUSASHI b9472d630d Add `SSH` credentials. 2019-10-27 14:42:16 +08:00
Kazuhiro MUSASHI 0a9953e839 Merge branch 'nginx-version-bump' of kazu634/itamae into master 2019-10-27 15:38:41 +09:00
Kazuhiro MUSASHI d1e1dd50f4 Specify `OpenSSL` version (newer than 1.1.1) to enable TSL1.3. 2019-10-27 15:38:40 +09:00
Kazuhiro MUSASHI 27b1481454 `nginx` version bumps to `1.17.5`: 2019-10-27 15:38:40 +09:00
Kazuhiro MUSASHI c2526cca12 Merge branch 'get-ipaddress-fix' of kazu634/itamae into master 2019-10-27 00:10:20 +09:00
Kazuhiro MUSASHI d0dacca340 Exclude "127" and "172" (= Docker) IP addresses. 2019-10-26 23:07:20 +08:00
Kazuhiro MUSASHI d0c2af4f4c [WIP] This is to modify how to retrieve the local IP address.
This is to modify how to retrieve the local IP address.
2019-10-26 23:03:50 +08:00
Kazuhiro MUSASHI 402183449c Merge branch 'support-grafana-latest' of kazu634/itamae into master 2019-09-16 00:30:01 +09:00
Kazuhiro MUSASHI 752a76a065 Modify the apt key URL. 2019-09-15 22:40:04 +08:00
Kazuhiro MUSASHI 762c94142f Modify apt repository setting. 2019-09-15 22:39:47 +08:00
Kazuhiro MUSASHI 9593b3c3c8 Merge branch 'mount-necessary-directory' 2019-08-13 23:38:47 +08:00
Kazuhiro MUSASHI 8079808c45 In addition to `/mnt/backup`, mount `/var/spool/apt-mirror`. 2019-08-13 23:22:43 +08:00
Kazuhiro MUSASHI a0eaefeeb9 Merge branch 'modify-slack-url' of kazu634/itamae into master 2019-08-11 14:46:35 +09:00
Kazuhiro MUSASHI a04214f277 Modify the Slack secret URL. 2019-08-11 13:44:24 +08:00
Kazuhiro MUSASHI f510a8a7a3 Merge branch 'peco-to-fzf' of kazu634/itamae into master 2019-08-10 23:13:53 +09:00
Kazuhiro MUSASHI 7b7270c940 Create `fzf` cookbook. 2019-08-10 21:41:45 +08:00
Kazuhiro MUSASHI 9393f44a64 [WIP] fzfを利用できるようにする 2019-08-10 19:10:27 +08:00
Kazuhiro MUSASHI 8bccd62d6e Merge branch 'exclude-nodes' of kazu634/itamae into master 2019-08-10 20:06:48 +09:00
Kazuhiro MUSASHI 164011e5a4 `nodes/`ディレクトリをgitの管理外にする 2019-08-10 19:05:13 +08:00
Kazuhiro MUSASHI 1636f5b2ea [WIP] nodesディレクトリをgitの管理外にする 2019-08-10 19:04:35 +08:00
Kazuhiro MUSASHI 64c79a6e16 Merge branch 'fluentd-slack-support' of kazu634/itamae into master 2019-08-10 20:02:48 +09:00