Initial commit

This commit is contained in:
YuanHui
2025-07-11 15:48:18 +08:00
commit 1d7f6cc8fc
12 changed files with 743 additions and 0 deletions

17
inventory.ini Normal file
View File

@@ -0,0 +1,17 @@
[caddy_servers]
# 本地 1panel 服务器
192.168.31.100
# 远程 Ubuntu 服务器
154.204.181.192
[all:vars]
# 请替换成您登录服务器的用户名
ansible_user=root
# --- 可选配置 ---
# 如果您的本地服务器不需要通过SSH而是直接在本机执行
192.168.31.100 ansible_ssh_private_key_file=~/.ssh/id_ed25519.pub
# 如果您的远程服务器需要使用特定的SSH密钥
154.204.181.192 ansible_ssh_private_key_file=~/.ssh/id_ed25519.pub