添加 Ansible 配置文件和多个主机清单文件
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
[cloud_servers]
|
||||
hkyc1 ansible_host=hkyc1.tl.lan.carry.fit ansible_user=root ansible_ssh_pass="{{ ssh_password3 }}"
|
||||
baota-home ansible_host=192.168.5.127 ansible_user=root ansible_ssh_pass="{{ ssh_password2 }}"
|
||||
1panel-home ansible_host=192.168.5.238 ansible_user=root ansible_ssh_pass="{{ ssh_password2 }}"
|
||||
baota-tower ansible_host=192.168.15.238 ansible_user=root ansible_ssh_pass="{{ ssh_password2 }}"
|
||||
1panel-tower ansible_host=192.168.15.246 ansible_user=root ansible_ssh_pass="{{ ssh_password2 }}"
|
||||
|
||||
[cloud_servers: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