Commit Graph

471 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI 6ee0679c7c Update the Vault tokens for the provisioning process.
diff --git a/cookbooks/consul/files/etc/vault.d/tokens/roleid b/cookbooks/consul/files/etc/vault.d/tokens/roleid
index 7ae456f..120be5a 100644
--- a/cookbooks/consul/files/etc/vault.d/tokens/roleid
+++ b/cookbooks/consul/files/etc/vault.d/tokens/roleid
@@ -1 +1 @@
-md5:1ae55d337df5f9dd4fffc187a183b0b2:salt:205-89-236-103-190-38-95-67:aes-256-cfb:Ma2d+BQ24dejEcakleRob9FbO/uXSyymKm3hMllr4BU89COZ6g==
\ No newline at end of file
+md5:d0bf5c103435e9c51e21752192e89575:salt:20-135-197-125-136-152-137-246:aes-256-cfb:aVa3ufSt0fr6iarjwajOHZZs4bGSOo38N577EEbCJwXNW/M41g==
\ No newline at end of file
diff --git a/cookbooks/consul/files/etc/vault.d/tokens/secretid b/cookbooks/consul/files/etc/vault.d/tokens/secretid
index 8f6d625..45ffa4a 100644
--- a/cookbooks/consul/files/etc/vault.d/tokens/secretid
+++ b/cookbooks/consul/files/etc/vault.d/tokens/secretid
@@ -1 +1 @@
-md5:c5e23c82c19bfdbd585c22c2244d48c4:salt:159-101-196-196-176-220-40-108:aes-256-cfb:ddjwjLHE5NsLCVioXEv9oaJoGtpJ+P6FvVs6ecKK26eaI49ElQ==
\ No newline at end of file
+md5:ab19117b12b65eef5d46283a1f9d8430:salt:2-183-180-51-94-222-93-197:aes-256-cfb:hlO5lzU8SmLmqPjquIJgwEzSlM5w7ij8gGFZXJVY2yt0KNRqrw==
\ No newline at end of file
2024-11-03 12:14:12 +09:00
Kazuhiro MUSASHI 2a199ab128 Add recipes for `LXC` containers. 2024-11-03 12:10:06 +09:00
Kazuhiro MUSASHI 015fe2ee31 Modify `nomad` recipes to reflect the step changes. 2024-11-03 10:58:04 +09:00
Kazuhiro MUSASHI eaa7ddcd32 Update DNS settings. 2024-11-03 10:56:38 +09:00
Kazuhiro MUSASHI db10caca55 Delete `resolved.conf.2404`. 2024-11-02 16:56:12 +09:00
Kazuhiro MUSASHI a61e3c3dd7 Install `cni` plugins, using `eget`. 2024-07-20 17:34:01 +09:00
Kazuhiro MUSASHI 8e0a8a06c3 Bump `nginx` version. 2024-07-20 17:33:31 +09:00
Kazuhiro MUSASHI 248a624f22 Install `Docker`, before setting up `Nomad`. 2024-07-15 21:40:05 +09:00
Kazuhiro MUSASHI df0bccd61b Add `Consul` token setting for registering `Vault` 2024-07-15 21:39:32 +09:00
Kazuhiro MUSASHI a955001416 Add firewall settings for `Vault`. 2024-07-15 21:39:00 +09:00
Kazuhiro MUSASHI e21fa08291 Deploy `/etc/vault.d/vault.env` to enable AWS KMS. 2024-07-15 21:28:07 +09:00
Kazuhiro MUSASHI 44ca217183 Reload the config after updating the config file. 2024-07-15 21:27:23 +09:00
Kazuhiro MUSASHI 7d65474067 Change mode of `/etc/vault.d/vault.hcl`. 2024-07-15 18:49:42 +09:00
Kazuhiro MUSASHI d11206e3c2 Change `Vault` IP addresses. 2024-07-15 18:48:40 +09:00
Kazuhiro MUSASHI 44325ace47 Change `Vault` tokens for enabling Consul Auto Config. 2024-07-15 18:47:02 +09:00
Kazuhiro MUSASHI 977648f95e Change `consul` server IP addresses. 2024-07-15 18:45:25 +09:00
Kazuhiro MUSASHI 1998a11c29 Disable `Ubuntu Pro` announcement. 2024-07-01 15:23:03 +09:00
Kazuhiro MUSASHI 450426b12a Expliciyly specify the owner and group for `/etc/apt/sources.list.d/hashicorp.list`. 2024-06-10 11:55:15 +09:00
Kazuhiro MUSASHI d8094f8a6b Install exporters for `Ubuntu24.04`. 2024-06-10 11:54:39 +09:00
Kazuhiro MUSASHI 3b61e2b7ac Add condition for `Ubuntu 24.04`. 2024-06-10 11:54:08 +09:00
Kazuhiro MUSASHI cf28ca20b6 Disable password authentication for `SSH` daemon. 2024-06-10 11:48:35 +09:00
Kazuhiro MUSASHI 6bc876df6f Use `eget` to download and install `consul-template`. 2024-06-10 11:45:12 +09:00
Kazuhiro MUSASHI 4f2aeaac41 Check whether `eget` is installed or not, before the actual installation. 2024-06-10 11:44:07 +09:00
Kazuhiro MUSASHI 6d1e1599e3 Modify `dnsmasq` settings. 2024-06-10 11:42:42 +09:00
Kazuhiro MUSASHI 9a6a874abe Install `eget`. 2024-05-11 14:28:12 +09:00
Kazuhiro MUSASHI f122269855 Accumulative changes for `nginc` recipe. 2024-05-06 17:09:24 +09:00
Kazuhiro MUSASHI 6fe04fdaa0 Add cases for Ubuntu 24.04. 2024-05-06 17:08:42 +09:00
Kazuhiro MUSASHI 2063cf2f6c Update HashiCorp APT sources. 2024-04-28 12:13:35 +09:00
Kazuhiro MUSASHI a52c841151 Add steps for `SSH` daemon config. 2024-04-28 11:52:29 +09:00
Kazuhiro MUSASHI f6a6c49823 Add `git` APT source setting for Ubuntu2404. 2024-04-28 11:51:43 +09:00
Kazuhiro MUSASHI 8ae10311a6 Add steps for `timesyncd` configs. 2024-04-28 11:51:05 +09:00
Kazuhiro MUSASHI 359bdec10b Change the period from `240h` to `24h`. 2024-04-27 15:30:33 +09:00
Kazuhiro MUSASHI feb2ed45ad Use `ip` command when Ubuntu 22.04. 2024-04-27 14:58:10 +09:00
Kazuhiro MUSASHI 2da188f298 Modify the retention period from 24h to 240h. 2024-04-27 14:29:48 +09:00
Kazuhiro MUSASHI 28fea90778 Update `/etc/loki/loki-config.yml`. 2024-04-27 14:26:24 +09:00
Kazuhiro MUSASHI 3dca8b3de4 Delete unnecessary file. 2024-04-27 14:25:47 +09:00
Kazuhiro MUSASHI a6428c4c3a Modify the monitoring target of `Consul`. 2024-04-07 22:51:05 +09:00
Kazuhiro MUSASHI f61d1aa2ed Modify the permissions of the `Prometheus` directory. 2024-04-07 22:46:58 +09:00
Kazuhiro MUSASHI cca3bc93d3 Update Hashicorp apt sources. 2024-04-06 17:31:12 +09:00
Kazuhiro MUSASHI 3834d4b7c6 Install necessary packages. 2024-04-06 17:30:36 +09:00
Kazuhiro MUSASHI ddc85e4704 Populate `consul`'s token. 2024-04-06 17:06:51 +09:00
Kazuhiro MUSASHI b91b44908b Deploy `/etc/nomad.d/options.hcl`. 2024-04-06 17:06:51 +09:00
Kazuhiro MUSASHI 885907310f Deploy `/etc/nomad.d/client.hcl`. 2024-04-06 17:06:51 +09:00
Kazuhiro MUSASHI 4a1574a787 Deploy `vector`-related config files. 2024-04-06 16:28:55 +09:00
Kazuhiro MUSASHI bef9a01bc1 Deploy `/lib/systemd/system/vector-nomad.service`. 2024-04-06 16:28:55 +09:00
Kazuhiro MUSASHI b16ed09803 Deploy `vector` config for `nomad`. 2024-04-06 16:27:07 +09:00
Kazuhiro MUSASHI 6fb0e49198 Delete `promtail` config for `nomad`. 2024-04-06 16:26:48 +09:00
Kazuhiro MUSASHI 217c3f0dd6 Delete `/lib/systemd/system/promtail-nomad.service`. 2024-04-06 16:25:29 +09:00
Kazuhiro MUSASHI 173f4682fd Change the word `promtail` to `vector`. 2024-04-06 16:25:07 +09:00
Kazuhiro MUSASHI 34049dd905 Modify typo 2024-04-03 16:33:42 +09:00