添加 Ansible 配置文件和多个主机清单文件
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
[proxmox]
|
||||
pvehome ansible_host=pve.home.lan.carry.fit ansible_user=root ansible_ssh_pass="{{ ssh_password1 }}"
|
||||
pvetower ansible_host=pve.tower.lan.carry.fit ansible_user=root ansible_ssh_pass="{{ ssh_password1 }}"
|
||||
|
||||
[proxmox:vars]
|
||||
ansible_connection=ssh
|
||||
ansible_ssh_common_args='-o StrictHostKeyChecking=no'
|
||||
ansible_python_interpreter=auto_silent
|
||||
ansible_ssh_private_key_file=~/.ssh/id_ed25519
|
||||
Reference in New Issue
Block a user