Commit Graph

35 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI 1998a11c29 Disable `Ubuntu Pro` announcement. 2024-07-01 15:23:03 +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 9a6a874abe Install `eget`. 2024-05-11 14:28:12 +09:00
Kazuhiro MUSASHI 6fe04fdaa0 Add cases for Ubuntu 24.04. 2024-05-06 17:08:42 +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 3834d4b7c6 Install necessary packages. 2024-04-06 17:30:36 +09:00
Kazuhiro MUSASHI 785595cc95 Modify the base packages. 2024-02-11 21:16:56 +09:00
Kazuhiro MUSASHI cfdec27f89 Consul server setup 2024-02-11 18:55:30 +09:00
Kazuhiro MUSASHI 8d8a6affbd Install `cloudflared`. 2023-12-16 16:19:04 +09:00
Kazuhiro MUSASHI 60399ae897 Install `avahi-daemon`. 2023-12-09 14:57:05 +09:00
Kazuhiro MUSASHI 1943fb5f09 Change logic to deploy `/etc/systemd/timesyncd.conf`. 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI c40dc83965 Update `sshd_config` & deploy `sshd_config` for `Ubuntu 22.04`: 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI 78b98cdab6 Update `50unattended-upgrades` and deploy 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI a773b4a1b5 Install `systemd-timesyncd` and add its config file:
```
--- a/cookbooks/base/default.rb
+++ b/cookbooks/base/default.rb
@@ -80,6 +80,20 @@
 when "20.04", "22.04"
   service 'multipath-tools' do
     action :nothing
   end
+
+  package 'systemd-timesyncd'
+
+  service 'systemd-timesyncd' do
+    action :enable
+  end
+
+  remote_file '/etc/systemd/timesyncd.conf' do
+    owner 'root'
+    group 'root'
+    mode '0644'
+
+    notifies :restart, 'service[systemd-timesyncd]'
+  end
 end
```
2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI 11bdc70327 Use `node['platform_version']` & support `Ubuntu 22.04` for timezone setting: 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI c6bfa2c09b Delete the recipes for `Ubuntu 16.04`. 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI 9d4cccb842 Modify permission of `git` hook. 2022-08-07 20:49:37 +09:00
Kazuhiro MUSASHI a42048cc7d Install `starship`. 2022-08-07 20:43:15 +09:00
Kazuhiro MUSASHI 797c0d50f4 `apt` keyの指定方法を修正 2020-12-06 11:51:56 +09:00
Kazuhiro MUSASHI 2ca7e31821 Do not deploy SSH keys if already deployed. 2020-11-12 15:55:27 +09:00
Kazuhiro MUSASHI b78aee2026 Deploy the `/etc/multppath.conf` not to output the error message. 2020-11-07 13:02:31 +09:00
Kazuhiro MUSASHI 4432c311e8 Encrypt Public keys and etc. 2020-11-02 01:04:52 +09:00
Kazuhiro MUSASHI fdfa8d05de Install and initial setup for `lsyncd`. 2020-11-02 00:53:39 +09:00
Kazuhiro MUSASHI 018890d7e1 Use `unattended-upgrade`, instead of `cron-apt`. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 705432e244 Deploy `sshd_config` for Ubuntu 20.04. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 05d7215f76 Use `timedatectl` when Ubuntu 20.04. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 3b45ffb703 Modify the OS version to install kernel extra package. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 12aabfb6c0 Do NOT deploy `perpare-commit-msg`. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 4b911ce98a Do NOT install `ntp` to Ubuntu 20.04. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 47c2f7784a Modify the kernel parameter to adjust the timeout for nf_conntrack. 2020-09-26 16:53:26 +09:00
Kazuhiro MUSASHI 3f6df758e2 Install `direnv`. 2020-08-09 15:41:13 +09:00
Kazuhiro MUSASHI 2c96bd7276 Modify the way of generating swap image. 2019-11-05 23:20:35 +08:00
Kazuhiro MUSASHI 39fbe6669b initial commit 2019-03-03 16:50:49 +08:00