添加 Ansible 配置文件和多个主机清单文件

This commit is contained in:
carry
2026-07-12 20:30:30 +08:00
commit 070bee0a76
8 changed files with 167 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
[openwrt]
openwrt-home ansible_host=openwrt.home.lan.carry.fit ansible_user=root ansible_ssh_pass="{{ ssh_password2 }}"
openwrt-tower ansible_host=openwrt.tower.lan.carry.fit ansible_user=root ansible_ssh_pass="{{ ssh_password1 }}"
[openwrt:vars]
ansible_connection=ssh
ansible_ssh_common_args='-o StrictHostKeyChecking=no'
ansible_python_interpreter=auto_silent
ansible_ssh_private_key_file=~/.ssh/id_ed25519