Compare commits

...

8 Commits

Author SHA1 Message Date
069e72aff2 使用 ipfs 网关 2025-01-08 10:23:54 +08:00
7e475c9325 update inventory.ini 2025-01-08 10:22:12 +08:00
22ff568c83 add zfs scrub 2024-12-04 14:33:27 +08:00
7172f6fd01 fix: block in file 2024-11-13 15:29:49 +08:00
d23fd388bc 添加机器 添加 deno 更新 info 2024-11-13 11:11:34 +08:00
7d64db8dcb 添加机器 2024-11-07 14:51:14 +08:00
393719fd56 添加机器 2024-11-01 16:53:12 +08:00
91543507dd 添加机器 2024-10-28 17:17:54 +08:00
8 changed files with 155 additions and 7 deletions

17
install-deno.yaml Normal file
View File

@@ -0,0 +1,17 @@
- name: Install deno from IPFS gateway
hosts: all
become: yes
user: root
tasks:
- name: Download the deno file from IPFS gateway
get_url:
url: http://192.168.1.13:8080/ipfs/QmawC2DzXqCjesHMMExuLgYxpN18SHmioKzgaD5hskZvur
dest: /usr/bin/deno
timeout: 300
- name: Set execute permission on deno
file:
path: /usr/bin/deno
mode: '0755'
state: file

View File

@@ -15,7 +15,7 @@
- name: Download the deb file from IPFS gateway - name: Download the deb file from IPFS gateway
get_url: get_url:
url: https://waykey.net:7999/ipfs/QmXAvSfitFCGw2N4YC3R8sJd6dBBhW21rCRhvEpzyfjGW9 url: https://waykey.net/ipfs/QmXAvSfitFCGw2N4YC3R8sJd6dBBhW21rCRhvEpzyfjGW9
dest: /tmp/ipmi-exporter.deb dest: /tmp/ipmi-exporter.deb
- name: Install the deb package - name: Install the deb package

View File

@@ -5,7 +5,7 @@
tasks: tasks:
- name: Download the deb file from IPFS gateway - name: Download the deb file from IPFS gateway
get_url: get_url:
url: https://waykey.net:7999/ipfs/QmeexpjtcrKDQhFdvMyVqQuBf7fNVurkzC1YWkFFDumDgj url: https://waykey.net/ipfs/QmeexpjtcrKDQhFdvMyVqQuBf7fNVurkzC1YWkFFDumDgj
dest: /tmp/node-exporter.deb dest: /tmp/node-exporter.deb
- name: Install the deb package - name: Install the deb package

View File

@@ -5,6 +5,7 @@
192.168.1.12 192.168.1.12
192.168.1.13 192.168.1.13
192.168.1.15 192.168.1.15
192.168.1.16
192.168.1.19 192.168.1.19
192.168.1.20 192.168.1.20
192.168.1.32 192.168.1.32
@@ -13,6 +14,7 @@
192.168.1.35 192.168.1.35
192.168.1.36 192.168.1.36
192.168.1.37 192.168.1.37
192.168.1.41
192.168.1.42 192.168.1.42
192.168.1.43 192.168.1.43
192.168.1.44 192.168.1.44
@@ -23,5 +25,27 @@
192.168.1.50 192.168.1.50
192.168.1.52 192.168.1.52
192.168.1.53 192.168.1.53
192.168.1.54
192.168.1.55
192.168.1.56
192.168.1.57
192.168.1.58
192.168.1.59
192.168.1.60
192.168.1.61
192.168.1.62
192.168.1.63
192.168.1.64
192.168.1.65
192.168.1.66
192.168.1.67
192.168.1.68
192.168.1.69
192.168.1.70
192.168.1.71
192.168.1.72
192.168.1.74
192.168.1.75
192.168.1.76
192.168.1.77
192.168.1.91 192.168.1.91

View File

@@ -15,10 +15,9 @@
when: kubelet_status.stdout == "active" when: kubelet_status.stdout == "active"
- name: Create or edit http-proxy.conf for containerd - name: Create or edit http-proxy.conf for containerd
blockinfile: copy:
path: /etc/systemd/system/containerd.service.d/http-proxy.conf dest: /etc/systemd/system/containerd.service.d/http-proxy.conf
create: yes content: |
block: |
[Service] [Service]
Environment="HTTP_PROXY=http://192.168.1.38:7890" Environment="HTTP_PROXY=http://192.168.1.38:7890"
Environment="HTTPS_PROXY=http://192.168.1.38:7890" Environment="HTTPS_PROXY=http://192.168.1.38:7890"

99
system_info.csv Normal file

File diff suppressed because one or more lines are too long

2
tmp.ini Normal file
View File

@@ -0,0 +1,2 @@
[waykey]
192.168.1.43

7
zfs-scrub.yaml Normal file
View File

@@ -0,0 +1,7 @@
- name: Start ZFS scrub
hosts: all
become: yes
user: root
tasks:
- name: Get list of ZFS pools
shell: zpool list -H -o name | xargs -n1 zpool scrub