update config
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
[caddy_servers]
|
||||
# 本地 1panel 服务器
|
||||
192.168.31.100
|
||||
192.168.31.101
|
||||
|
||||
# 远程 Ubuntu 服务器
|
||||
154.204.181.192
|
||||
192.238.204.39
|
||||
|
||||
[all:vars]
|
||||
# 请替换成您登录服务器的用户名
|
||||
@@ -11,7 +11,7 @@ ansible_user=root
|
||||
|
||||
# --- 可选配置 ---
|
||||
# 如果您的本地服务器不需要通过SSH,而是直接在本机执行
|
||||
192.168.31.100 ansible_ssh_private_key_file=~/.ssh/id_ed25519.pub
|
||||
192.168.31.101 ansible_ssh_private_key_file=~/.ssh/id_ed25519.pub
|
||||
|
||||
# 如果您的远程服务器需要使用特定的SSH密钥
|
||||
154.204.181.192 ansible_ssh_private_key_file=~/.ssh/id_ed25519.pub
|
||||
|
||||
Reference in New Issue
Block a user